summaryrefslogtreecommitdiff
path: root/tools/travis-before-install.sh
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2020-07-14 23:15:00 +0300
committermattip <matti.picus@gmail.com>2020-07-14 23:15:00 +0300
commit80882548e704896e409f557ebc04ee2c2ca2ac46 (patch)
treecc995cf6bd41eb365ae36387db47c0793577b86c /tools/travis-before-install.sh
parent24748cbc66a8ead55bde0e9ef344207f3b3c33cf (diff)
downloadnumpy-80882548e704896e409f557ebc04ee2c2ca2ac46.tar.gz
MAINT,BLD: pin setuptools and refactor where to find it
Diffstat (limited to 'tools/travis-before-install.sh')
-rwxr-xr-xtools/travis-before-install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/travis-before-install.sh b/tools/travis-before-install.sh
index e468dd932..1446a8bad 100755
--- a/tools/travis-before-install.sh
+++ b/tools/travis-before-install.sh
@@ -29,7 +29,7 @@ gcc --version
popd
-pip install --upgrade pip
+pip install --upgrade pip setuptools!=49.2.0 wheel
# 'setuptools', 'wheel' and 'cython' are build dependencies. This information
# is stored in pyproject.toml, but there is not yet a standard way to install
@@ -41,7 +41,7 @@ pip install --upgrade pip
# A specific version of cython is required, so we read the cython package
# requirement using `grep cython test_requirements.txt` instead of simply
# writing 'pip install setuptools wheel cython'.
-pip install setuptools wheel `grep cython test_requirements.txt`
+pip install `grep cython test_requirements.txt`
if [ -n "$DOWNLOAD_OPENBLAS" ]; then
pwd