From 510229177ad7015de7eff5d4508aff7f9814ce9a Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Fri, 31 Mar 2017 09:58:28 +0100 Subject: [PATCH] Remove some debug code that was breaking the build --- cibuildwheel/macos.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cibuildwheel/macos.py b/cibuildwheel/macos.py index ad18f740..3c68d73f 100644 --- a/cibuildwheel/macos.py +++ b/cibuildwheel/macos.py @@ -43,7 +43,6 @@ def build(project_dir, package_name, output_dir, test_command, test_requires): # install pip & wheel shell([python, '-m', 'ensurepip', '--upgrade'], env=env) - shell(['which', pip], env=env) # todo: remove shell([pip, '--version']) shell([pip, 'install', 'wheel'], env=env) shell([pip, 'install', 'delocate'], env=env) @@ -63,15 +62,11 @@ def build(project_dir, package_name, output_dir, test_command, test_requires): # test the wheel if test_requires: - shell([pip, '-v', 'install'] + test_requires, env=env) + shell([pip, 'install'] + test_requires, env=env) if test_command: # run the tests from $HOME, with an absolute path in the command # (this ensures that Python runs the tests against the installed wheel # and not the repo code) abs_project_dir = os.path.abspath(project_dir) test_command_absolute = test_command.format(project=abs_project_dir) - shell(['which', 'nosetests'], env=env) # todo: remove - shell(['which', 'nosetests'], cwd=os.environ['HOME'], env=env) # todo: remove - shell(['nosetests', '-v'], env=env) # todo: remove - shell(['nosetests', '-v'], cwd=os.environ['HOME'], env=env) # todo: remove shell(shlex.split(test_command_absolute), cwd=os.environ['HOME'], env=env)