Fix calls to pip and virtualenv

This commit is contained in:
Thomas Robitaille
2019-09-10 09:40:19 +01:00
parent 40968897a8
commit 853699c265
+2 -2
View File
@@ -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