summaryrefslogtreecommitdiff
path: root/tools
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
parent24748cbc66a8ead55bde0e9ef344207f3b3c33cf (diff)
downloadnumpy-80882548e704896e409f557ebc04ee2c2ca2ac46.tar.gz
MAINT,BLD: pin setuptools and refactor where to find it
Diffstat (limited to 'tools')
-rwxr-xr-xtools/pypy-test.sh2
-rwxr-xr-xtools/travis-before-install.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/pypy-test.sh b/tools/pypy-test.sh
index e24d7a99d..32b7968d8 100755
--- a/tools/pypy-test.sh
+++ b/tools/pypy-test.sh
@@ -33,7 +33,7 @@ wget -q https://downloads.python.org/pypy/pypy3.6-v7.3.1-linux64.tar.bz2 -O pypy
mkdir -p pypy3
(cd pypy3; tar --strip-components=1 -xf ../pypy.tar.bz2)
pypy3/bin/pypy3 -mensurepip
-pypy3/bin/pypy3 -m pip install --upgrade pip setuptools wheel
+pypy3/bin/pypy3 -m pip install --upgrade pip
pypy3/bin/pypy3 -m pip install --user -r test_requirements.txt --no-warn-script-location
echo
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