macOS/Windows: Update setuptools

This commit is contained in:
mayeut
2018-05-04 17:27:33 +02:00
committed by Yannick Jadoul
parent c8019dac1d
commit b4c0150d43
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -70,6 +70,7 @@ def build(project_dir, package_name, output_dir, test_command, test_requires, be
# install pip & wheel
call([python, get_pip_script, '--no-setuptools', '--no-wheel'], env=env)
call([pip, '--version'], env=env)
call([pip, 'install', '--upgrade', 'setuptools'], env=env)
call([pip, 'install', 'wheel'], env=env)
call([pip, 'install', 'delocate'], env=env)
+1
View File
@@ -74,6 +74,7 @@ def build(project_dir, package_name, output_dir, test_command, test_requires, be
# prepare the Python environment
shell(['python', '-m', 'pip', 'install', '--upgrade', 'pip'],
env=env)
shell(['pip', 'install', '--upgrade', 'setuptools'], env=env)
shell(['pip', 'install', 'wheel'], env=env)
# run the before_build command