diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2016-02-24 09:31:22 -0800 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2016-02-24 09:31:22 -0800 |
commit | 38652a6d5d6a205fb6ddeac255a76c0345a9c026 (patch) | |
tree | 16d85c54997664c3956f4837098ed8a9e7ccf456 /make.bat | |
parent | 893bb7f255a3bde19d3b2dd8b039b368e0d660bc (diff) | |
download | psutil-38652a6d5d6a205fb6ddeac255a76c0345a9c026.tar.gz |
update make.bat
Diffstat (limited to 'make.bat')
-rw-r--r-- | make.bat | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -54,7 +54,8 @@ if "%1" == "help" ( echo clean clean build files echo flake8 run flake8 echo install compile and install - echo setup-dev-env install pip, pywin32, wheels, etc. for all python versions + echo setup-dev-env install/upgrade pip, pywin32, wheels, etc. + echo setup-dev-env-all same as above, for all python versions echo test run tests echo test-memleaks run memory leak tests echo test-process run process related tests @@ -176,7 +177,7 @@ if "%1" == "setup-dev-env" ( @echo ------------------------------------------------ @echo downloading pip installer @echo ------------------------------------------------ - C:\python27\python.exe -c "import urllib2; r = urllib2.urlopen('https://raw.github.com/pypa/pip/master/contrib/get-pip.py'); open('get-pip.py', 'wb').write(r.read())" + C:\python27\python.exe -c "import urllib2; r = urllib2.urlopen('https://bootstrap.pypa.io/get-pip.py'); open('get-pip.py', 'wb').write(r.read())" @echo ------------------------------------------------ @echo installing pip @echo ------------------------------------------------ @@ -196,12 +197,13 @@ if "%1" == "setup-dev-env-all" ( @echo ------------------------------------------------ @echo downloading pip installer @echo ------------------------------------------------ - C:\python27\python.exe -c "import urllib2; r = urllib2.urlopen('https://raw.github.com/pypa/pip/master/contrib/get-pip.py'); open('get-pip.py', 'wb').write(r.read())" + C:\python27\python.exe -c "import urllib2; r = urllib2.urlopen('https://bootstrap.pypa.io/get-pip.py'); open('get-pip.py', 'wb').write(r.read())" for %%P in (%ALL_PYTHONS%) do ( @echo ------------------------------------------------ @echo installing pip for %%P @echo ------------------------------------------------ %%P get-pip.py + %%P -m pip install pip --upgrade ) for %%P in (%ALL_PYTHONS%) do ( @echo ------------------------------------------------ @@ -210,7 +212,7 @@ if "%1" == "setup-dev-env-all" ( rem mandatory / for unittests %%P -m pip install unittest2 ipaddress mock wmi wheel pypiwin32 --upgrade rem nice to have - %%P -m pip install ipdb nose --upgrade + rem %%P -m pip install ipdb nose --upgrade ) goto :eof ) |