Merge pull request #62 from anthrotype/fix-pip-upgrade-windows

windows: upgrade pip with 'python -m pip'
This commit is contained in:
Joe Rickerby
2018-04-25 23:01:58 +01:00
committed by GitHub
+1 -1
View File
@@ -72,7 +72,7 @@ def build(project_dir, package_name, output_dir, test_command, test_requires, be
shell(['python', '-c', '"import struct; print(struct.calcsize(\'P\') * 8)\"'], env=env)
# prepare the Python environment
shell(['pip', 'install', '--disable-pip-version-check', '--user', '--upgrade', 'pip'],
shell(['python', '-m', 'pip', 'install', '--upgrade', 'pip'],
env=env)
shell(['pip', 'install', 'wheel'], env=env)