Skip to content

Commit 9012e2b

Browse files
committed
forcibly remove old setuptools
1 parent 559f19a commit 9012e2b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

release-test.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ virtualenv testenv4
1818

1919
# First we test the head
2020
source testenv1/bin/activate
21-
pip install -U setuptools==20.10.1
21+
pip uninstall -y setuptools \
22+
&& rm testenv1/lib/python-wheels/setuptools* \
23+
&& pip install -U setuptools==20.10.1
2224
make install-dependencies
2325
make test
2426
pip uninstall -y ${package} || true; pip uninstall -y ${package} || true; make install
@@ -32,7 +34,9 @@ pushd testenv1/not-${module}; ../bin/${run_tests}; popd
3234

3335
cd testenv2
3436
source bin/activate
35-
pip install -U setuptools==20.10.1
37+
pip uninstall -y setuptools \
38+
&& rm lib/python-wheels/setuptools* \
39+
&& pip install -U setuptools==20.10.1
3640
pip install -e git+${repo}@${HEAD}#egg=${package}
3741
cd src/${package}
3842
make install-dependencies
@@ -48,7 +52,9 @@ bin/${run_tests}
4852

4953
cd ../testenv3/
5054
source bin/activate
51-
pip install -U setuptools==20.10.1
55+
pip uninstall -y setuptools \
56+
&& rm lib/python-wheels/setuptools* \
57+
&& pip install -U setuptools==20.10.1
5258
pip install ${package}*tar.gz
5359
pip install pytest
5460
tar xzf ${package}*tar.gz

0 commit comments

Comments
 (0)