phalt/DjangoPi — pull request #3 by rmasters (2012-06-16 22:49:15+00:00)
Title: Add virtualenv support

And here's the PR for virtualenv support. To test:

mkdir /tmp/djangopi && cd /tmp/djangopi
virtualenv .
source bin/activate
cp /path/to/djangopi/requirements.txt . # see note below
/path/to/djangopi/djangopi.sh

This uses /tmp/djangopi/bin/pip, rather than /usr/bin/pip and the pip packages get installed in /tmp/djangopi/lib/pythonX/site-packages.

As to the requirements.txt, at the moment it needs to be in the current directory - another small fix so I'll send one for that as well :)