Created
April 8, 2013 15:05
-
-
Save revolunet/5337493 to your computer and use it in GitHub Desktop.
simple virtualenv setup
This file contains hidden or 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
| # 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