Skip to content

Commit

Permalink
Revert "Running 'pip install --upgrade setuptools' with 'sudo' on mac…
Browse files Browse the repository at this point in the history
…OS, fixing pypa#122"

This reverts commit d79ca07.
pip has been fixed in 19.0.2
  • Loading branch information
mayeut committed Feb 9, 2019
1 parent 0c0e21a commit ffa56b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cibuildwheel/macos.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,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)
# 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', '--upgrade', 'setuptools'], env=env)
call(['pip', 'install', 'wheel'], env=env)
call(['pip', 'install', 'delocate'], env=env)

Expand Down

0 comments on commit ffa56b7

Please sign in to comment.