Skip to content

Commit

Permalink
Merge pull request #123 from YannickJadoul/fix-issue-122
Browse files Browse the repository at this point in the history
Running 'pip install --upgrade setuptools' with 'sudo' on macOS, fixing #122
  • Loading branch information
joerick authored Feb 3, 2019
2 parents c6f4f01 + d79ca07 commit 56218d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cibuildwheel/macos.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ 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)
# sudo required, because the removal of the old version of setuptools might cause problems with newer pip versions (see issue #122)
call(['sudo', 'pip', 'install', '--upgrade', 'setuptools'], env=env)
call(['pip', 'install', 'wheel'], env=env)
call(['pip', 'install', 'delocate'], env=env)

Expand Down

0 comments on commit 56218d8

Please sign in to comment.