1
0
Fork 0
mirror of synced 2024-06-03 03:04:42 +12:00
Rare/misc/pip_upgrade_venv.py
2022-09-10 22:08:02 +03:00

6 lines
166 B
Python

import pkg_resources
from subprocess import call
for dist in pkg_resources.working_set:
call("python -m pip install --upgrade " + dist.project_name, shell=True)