Skip to content

Instantly share code, notes, and snippets.

@jppommet
Last active December 22, 2015 07:59
Show Gist options
  • Save jppommet/6441958 to your computer and use it in GitHub Desktop.
Save jppommet/6441958 to your computer and use it in GitHub Desktop.
python virtualenv project shell commands
# init a python project
pip install virtualenv
virtualenv --distribute <venv_dirname>
source <venv_dirname>/bin/activate
# install dependencies
pip install -r requirements.txt
# exit virtualenv mode
deactivate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment