Commit 9ed91cd5 authored by Kenneth Reitz's avatar Kenneth Reitz

don't bootstrap virtualenv every time

parent 17d97cde
...@@ -53,8 +53,11 @@ for dir in $VIRTUALENV_DIRS; do ...@@ -53,8 +53,11 @@ for dir in $VIRTUALENV_DIRS; do
cp -R $CACHE_DIR/$dir . &> /dev/null || true cp -R $CACHE_DIR/$dir . &> /dev/null || true
done done
echo "-----> Preparing virtualenv version $(virtualenv --version)" # Don't rebuild existing virtualenv.
virtualenv --distribute --never-download --prompt=venv . | indent if ! [ -f "lib/python2.7" ]; then
echo "-----> Preparing virtualenv version $(virtualenv --version)"
virtualenv --distribute --never-download --prompt=venv . | indent
fi
# Create set-aside .heroku folder. # Create set-aside .heroku folder.
mkdir -p .heroku mkdir -p .heroku
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment