Split pip and setuptools install to 2 calls
[releng/global-jjb.git] / shell / python-tools-install.sh
index 02070b4..c607dcb 100644 (file)
@@ -19,6 +19,8 @@ python-heatclient~=1.16.1
 python-openstackclient~=3.16.0
 EOF
 
-python -m pip install --user --quiet --upgrade pip~=18.0 setuptools~=40.2.0
+# Use `python -m pip` to ensure we are using the latest version of pip
+python -m pip install --user --quiet --upgrade pip
+python -m pip install --user --quiet --upgrade setuptools
 python -m pip install --user --quiet --upgrade -r "$REQUIREMENTS_FILE"
 pip freeze