Skip to content

Commit bada048

Browse files
committed
remove old setuptools wheel, then fix pip, then upgrade setuptools
1 parent 454733c commit bada048

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

release-test.sh

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

1919
# First we test the head
2020
source testenv1/bin/activate
21-
pip uninstall -y setuptools \
22-
&& rm testenv1/lib/python-wheels/setuptools* \
21+
rm testenv1/lib/python-wheels/setuptools* \
2322
&& pip install --force-reinstall -U pip==1.5.6 \
24-
&& pip install -U setuptools==20.10.1
23+
&& pip install setuptools==20.10.1
2524
make install-dependencies
2625
make test
2726
pip uninstall -y ${package} || true; pip uninstall -y ${package} || true; make install
@@ -35,10 +34,9 @@ pushd testenv1/not-${module}; ../bin/${run_tests}; popd
3534

3635
cd testenv2
3736
source bin/activate
38-
pip uninstall -y setuptools \
39-
&& rm lib/python-wheels/setuptools* \
37+
rm lib/python-wheels/setuptools* \
4038
&& pip install --force-reinstall -U pip==1.5.6 \
41-
&& pip install -U setuptools==20.10.1
39+
&& pip install setuptools==20.10.1
4240
pip install -e git+${repo}@${HEAD}#egg=${package}
4341
cd src/${package}
4442
make install-dependencies
@@ -54,10 +52,9 @@ bin/${run_tests}
5452

5553
cd ../testenv3/
5654
source bin/activate
57-
pip uninstall -y setuptools \
58-
&& rm lib/python-wheels/setuptools* \
55+
rm lib/python-wheels/setuptools* \
5956
&& pip install --force-reinstall -U pip==1.5.6 \
60-
&& pip install -U setuptools==20.10.1
57+
&& pip install setuptools==20.10.1
6158
pip install ${package}*tar.gz
6259
pip install pytest
6360
tar xzf ${package}*tar.gz

0 commit comments

Comments
 (0)