Skip to content

Instantly share code, notes, and snippets.

@chaimleib
Created June 26, 2014 20:31
Show Gist options
  • Save chaimleib/4334d86ab6cc3da4404a to your computer and use it in GitHub Desktop.
Save chaimleib/4334d86ab6cc3da4404a to your computer and use it in GitHub Desktop.
Setup for virtualenv
function setup() {
pip install virtualenv
pushdir $1 # replace $1 with where the environment dir should be
virtualenv tincan
source tincan/bin/activate
popd
}
function remove() {
deactivate
rm -rf tincan
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment