Try upgrading pip first

This commit is contained in:
Jean-Paul Calderone 2020-01-13 10:56:55 -05:00
parent e1acacdae2
commit d7a90b24c2

View File

@ -38,5 +38,8 @@ export PIP_FIND_LINKS="file://${WHEELHOUSE_PATH}"
"${PIP}" install certifi
# Get a new, awesome version of pip and setuptools. For example, the
# distro-packaged virtualenv's pip may not know about wheels.
"${PIP}" install --upgrade pip setuptools wheel
# distro-packaged virtualenv's pip may not know about wheels. Get the newer
# version of pip *first* in case we have a really old one now which can't even
# install setuptools properly.
"${PIP}" install --upgrade pip
"${PIP}" install --upgrade setuptools wheel