Skip to content

Commit

Permalink
forcibly remove old setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Aug 17, 2016
1 parent 559f19a commit 9012e2b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions release-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ virtualenv testenv4

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

cd testenv2
source bin/activate
pip install -U setuptools==20.10.1
pip uninstall -y setuptools \
&& rm lib/python-wheels/setuptools* \
&& pip install -U setuptools==20.10.1
pip install -e git+${repo}@${HEAD}#egg=${package}
cd src/${package}
make install-dependencies
Expand All @@ -48,7 +52,9 @@ bin/${run_tests}

cd ../testenv3/
source bin/activate
pip install -U setuptools==20.10.1
pip uninstall -y setuptools \
&& rm lib/python-wheels/setuptools* \
&& pip install -U setuptools==20.10.1
pip install ${package}*tar.gz
pip install pytest
tar xzf ${package}*tar.gz
Expand Down

0 comments on commit 9012e2b

Please sign in to comment.