On Wed, Sep 8, 2010 at 11:43 AM, Graham Dumpleton <[email protected]> wrote: > Personally cant see what is wrong with what was given in my > presentation which was: > > activate_this = os.path.join(root,'/path/to/virtualenv/bin/activate_this.py') > execfile(activate_this, dict(__file__=activate_this)) > > This is much safer and would work with any Python hosting mechanism.
Nothing wrong with this. In fact it is the official way to activate virtualenv using an existing python interpretor. I just wanted to mention an alternate way the same problem is solved in my hosting account using Phusion. My bad, really. It is irrelevant in this list. :) - Sandip -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
