From 5c91340ad07b1d44f24ed8715b3d706d2999bcc3 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Mon, 10 Apr 2017 21:40:03 +0100 Subject: [PATCH] Run the pip version check in the right env --- cibuildwheel/macos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cibuildwheel/macos.py b/cibuildwheel/macos.py index 3c68d73f..cd3962b1 100644 --- a/cibuildwheel/macos.py +++ b/cibuildwheel/macos.py @@ -43,7 +43,7 @@ def build(project_dir, package_name, output_dir, test_command, test_requires): # install pip & wheel shell([python, '-m', 'ensurepip', '--upgrade'], env=env) - shell([pip, '--version']) + shell([pip, '--version'], env=env) shell([pip, 'install', 'wheel'], env=env) shell([pip, 'install', 'delocate'], env=env)