Created
April 1, 2011 23:45
-
-
Save unbracketed/899062 to your computer and use it in GitHub Desktop.
Python packages that I like to start every new virtualenv with
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
ipdb | |
ipython | |
nose | |
coverage | |
pyflakes | |
pylint | |
ropevim | |
pep8 |
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
django-command-extensions | |
django-debug-toolbar | |
fabric | |
gunicorn | |
django-devserver | |
-e git://github.com/jbalogh/django-debug-cache-panel#egg=cache_panel |
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
#!/bin/sh | |
mkenv(){ | |
virtualenv --no-site-packages $1; | |
source $1/bin/activate; | |
pip install -U --download-cache=$PIP_DOWNLOAD_CACHE pip; | |
pip install --download-cache=$PIP_DOWNLOAD_CACHE -r common.pip | |
} |
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
#!/bin/sh | |
#alternative version using Preston Holmes' (ptone) fork of pip with support for | |
#special "cache" keyword to the --find-links option | |
#now pip can use the download cache and does not have to contact the index | |
mkenv(){ | |
virtualenv --no-site-packages $1; | |
source $1/bin/activate; | |
pip install git+https://github.com/ptone/pip.git@cache-as-findlinks#egg=pip-with-cache; | |
pip install --no-index --find-links=cache -r common.pip; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment