Use --user for tox install instead of virtualenv
[releng/global-jjb.git] / shell / python-tools-install.sh
index 5866ea5..f1918aa 100644 (file)
@@ -19,6 +19,7 @@ python-heatclient~=1.16.1
 python-openstackclient~=3.16.0
 EOF
 
-pip install --user --quiet --upgrade pip==18.0 setuptools==40.0.0
-pip install --user --quiet --upgrade -r "$REQUIREMENTS_FILE"
+# Use `python -m pip` to ensure we are using the latest version of pip
+python -m pip install --user --quiet --upgrade pip==18.0 setuptools==40.0.0
+python -m pip install --user --quiet --upgrade -r "$REQUIREMENTS_FILE"
 pip freeze