ptrlv/apfmon — pull request #2 by holzman (2013-02-21 21:21:36+00:00)
Title: Allow non-virtualenv python

Please check to see if this makes sense before you merge, but in my non-virtualenv install I need something like this for the wsgi.

Some admins may want to install the python packages using their
system rather than virtualenv. We can remove any hard-coding to
directory paths in that case (if we assume wsgi.py is sitting in the
base dir).

We can't do that cleanly with virtualenv, since we need to load the os
or sys module in order to figure out where we were executed from.