From 3ff59eefc6299f9f428bef959c1581a3aefc1a5a Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Sat, 7 Sep 2019 20:24:38 +0100 Subject: [PATCH] Fix syntax --- cibuildwheel/macos.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cibuildwheel/macos.py b/cibuildwheel/macos.py index ceef69ad..8b26c341 100644 --- a/cibuildwheel/macos.py +++ b/cibuildwheel/macos.py @@ -122,10 +122,10 @@ def build(project_dir, output_dir, test_command, test_requires, test_extras, bef delocated_wheel = glob('/tmp/delocated_wheel/*.whl')[0] # set up a virtual environment to install and test from - call(['pip', 'install', 'virtualenv', env=env) + call(['pip', 'install', 'virtualenv'], env=env) venv_dir = tempfile.mkdtemp() - call(['virtualenv', venv_dir, env=env) - call(['source', os.path.join(venv_dir, 'bin', 'activate')]) + call(['virtualenv', venv_dir], env=env) + call(['source', os.path.join(venv_dir, 'bin', 'activate')], env=env) # install the wheel call(['pip', 'install', delocated_wheel + test_extras], env=env)