How to insert my own module in front of site eggs?

Roy Smith roy at panix.com
Thu Nov 17 20:38:30 EST 2011


In article <Xns9FA0995C66F1Fduncanbooth at 127.0.0.1>,
 Duncan Booth <duncan.booth at invalid.invalid> wrote:

> Roy Smith <roy at panix.com> wrote:
> 
> > In some cases, I own the machine and can make changes to /usr/local/lib 
> > if I want to.  But what about on a shared machine?  I don't want to (or 
> > perhaps can't) play with what's in /usr/local/lib just to make my stuff 
> > load first.
> > 
> 
> Have you considered running your code in a virtualenv?
> http://pypi.python.org/pypi/virtualenv

I do that for some projects.  In fact, I suspect I will do that for all 
furture projects that I start from scratch.  For this particular one, 
there's a lot of stuff already installed in the system that I need.



More information about the Python-list mailing list