Skip to content

Commit

Permalink
macOS/Windows: Update setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut authored and YannickJadoul committed May 4, 2018
1 parent c8019da commit b4c0150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cibuildwheel/macos.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def call(args, env=None, cwd=None, shell=False):
# 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)

Expand Down
1 change: 1 addition & 0 deletions cibuildwheel/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def shell(args, env=None, cwd=None):
# 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
Expand Down

0 comments on commit b4c0150

Please sign in to comment.