Skip to content

Instantly share code, notes, and snippets.

@revolunet
Created April 8, 2013 15:05
Show Gist options
  • Select an option

  • Save revolunet/5337493 to your computer and use it in GitHub Desktop.

Select an option

Save revolunet/5337493 to your computer and use it in GitHub Desktop.
simple virtualenv setup
# creates a fresh new virtualenv and activates it
mkvirtualenv --no-site-packages ProjectName
# add requirements
pip install dotcloud fabric
# backup in requirements file
pip freeze > requirements.txt
# then
# activate your venv
workon ProjectName
# check if requirements changed and upgrade
pip install -r requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment