fixed pip-upgrade script

This commit is contained in:
hellerve
2015-09-09 17:44:24 -05:00
parent 388ed1a424
commit 104fad645d
2 changed files with 2 additions and 2 deletions

View File

@@ -9,6 +9,6 @@ skip=('setuptools', 'pip', 'python', 'disco', 'multitask',
for dist in pip.get_installed_distributions(skip=skip):
if sys.argv[1] == "2":
call("pip install --upgrade " + dist.project_name, shell=True)
call("pip2.7 install --upgrade " + dist.project_name, shell=True)
elif sys.argv[1] == "3":
call("pip3.4 install --upgrade " + dist.project_name, shell=True)