1
0
Fork 0
mirror of synced 2024-05-03 20:23:01 +12:00
Rare/misc/pip_upgrade_venv.py
2024-02-12 21:52:07 +02:00

6 lines
166 B
Python

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)