Skip to content
Snippets Groups Projects
Commit 9ed91cd5 authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

don't bootstrap virtualenv every time

parent 17d97cde
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment