Revert "Running 'pip install --upgrade setuptools' with 'sudo' on macOS, fixing #122" (#129)

This reverts commit d79ca07bbb.
This commit is contained in:
Yannick Jadoul
2019-03-10 21:25:28 +00:00
committed by Joe Rickerby
parent 8523b25a18
commit 44256e4aa5
+1 -2
View File
@@ -86,8 +86,7 @@ def build(project_dir, output_dir, test_command, test_requires, before_build, bu
# 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)