Tuesday, January 26, 2010

Working with VirtualEnv and Pip

I've just begun working with VirtualEnv and Pip for my Python project package management. So far I'm impressed. Rather than just rehash the tutorials I've read I'll just point you to some good ones...
Okay, here's a few commands I've used...

virtualenv --no-site-packages env
pip install -E env yolk
source env/bin/activate
yolk -l
pip install -E env -e svn+http://code.djangoproject.com/svn/django/trunk/
pip freeze -E env > requirements.txt
pip install -E env -r requirements.txt

No comments:

Post a Comment