1
0
Fork 0
mirror of synced 2024-06-21 12:00:25 +12:00
Rare/misc/pip_upgrade_venv.py

6 lines
166 B
Python
Raw Normal View History

2022-09-11 07:08:02 +12:00
import pkg_resources
from subprocess import call
for dist in pkg_resources.working_set:
call(f"python -m pip install --upgrade {dist.project_name}", shell=True)