6 lines
166 B
Python
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)
|