macOS/Windows: Update setuptools
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user