Use a bundle to build a .venv in tarball script.

Change-Id: If2ae945c10e31fa079cfdfeb69936bc1bb555797
This commit is contained in:
James E. Blair
2012-02-24 08:14:51 -08:00
parent f268532ac4
commit 9e9d0339a6

View File

@@ -79,6 +79,16 @@ then
exit 1
fi
# If there is a bundle file, build a virtualenv from the
# bundle we use for tox
if [ -e ".cache.bundle" ]
then
mv .cache.bundle .cache.pybundle
virtualenv --no-site-packages .venv
.venv/bin/pip install .cache.pybundle
rm .cache.pybundle
fi
VERSIONDIR="$HOME/versions"
RECORDFILE="$VERSIONDIR/tarballversions"