From 853699c2654b7dcb2d66053d4d02c09748d65269 Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Sat, 7 Sep 2019 20:48:39 +0100 Subject: [PATCH] Fix calls to pip and virtualenv --- cibuildwheel/linux.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cibuildwheel/linux.py b/cibuildwheel/linux.py index 2df50c2e..49fe2afc 100644 --- a/cibuildwheel/linux.py +++ b/cibuildwheel/linux.py @@ -87,8 +87,8 @@ def build(project_dir, output_dir, test_command, test_requires, test_extras, bef # Set up a virtual environment to install and test from, to make sure # there are no dependencies that were pulled in at build time. - pip install virtualenv - virtualenv tmp-test-env + "$PYBIN/pip" install virtualenv + "$PYBIN/virtualenv" tmp-test-env source tmp-test-env/bin/activate # Check that we are using the Python from the virtual environment