Created
June 26, 2014 20:31
-
-
Save chaimleib/4334d86ab6cc3da4404a to your computer and use it in GitHub Desktop.
Setup for virtualenv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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