Skip to content

Instantly share code, notes, and snippets.

@davehunt
Created July 22, 2011 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davehunt/1099645 to your computer and use it in GitHub Desktop.
Save davehunt/1099645 to your computer and use it in GitHub Desktop.
Create a virtual environment if one doesn't already exist - for CI builds
if [ -d ".env" ]; then
echo "**> virtualenv exists"
else
echo "**> creating virtualenv"
virtualenv --no-site-packages .env
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment