fix tests

This commit is contained in:
2017-03-08 16:57:33 -05:00
parent e26a0f04d9
commit 09b7e44841
6 changed files with 20074 additions and 15 deletions
+4 -14
View File
@@ -54,23 +54,13 @@ if [ "$FRESH_PYTHON" ] || [[ ! $(pip --version) == *$PIP_VERSION* ]]; then
TMPTARDIR=$(mktemp -d)
trap "rm -rf $TMPTARDIR" RETURN
bpwatch start install_setuptools
# Prepare it for the real world
puts-step "Installing Setuptools ($SETUPTOOLS_VERSION)"
unzip $ROOT_DIR/vendor/setuptools-$SETUPTOOLS_VERSION.zip -d $TMPTARDIR
cd $TMPTARDIR/setuptools-$SETUPTOOLS_VERSION/
python setup.py install
cd $WORKING_DIR
bpwatch stop install_setuptoools
bpwatch start install_pip
puts-step "Installing Pip ($PIP_VERSION)"
tar zxf $ROOT_DIR/vendor/pip-$PIP_VERSION.tar.gz -C $TMPTARDIR
cd $TMPTARDIR/pip-$PIP_VERSION/
python setup.py install
cd $WORKING_DIR
puts-step "Bootstrapping pip"
python $ROOT_DIR/vendor/get-pip.py
bpwatch stop install_pip
bpwatch stop prepare_environment
fi