[Trac] setting PYTHON_EGG_CACHE doesn't do anything

Jeremy Herbison herbie at autobotcity.net
Sun Feb 19 13:07:07 CST 2006


> Here's what I did.  I reasoned that the egg file is unpacked so that
> some of its files are available as real files in the file system, and I
> wasn't getting any bonus points for having the egg present in python's
> site-packages directory as a file anyway.  So:
> 
> cd /path/to/python/site-packages
> mv pysqlite-2.0.7-py2.4-linux-i686.egg foo.zip
> mkdir pysqlite-2.0.7-py2.4-linux-i686.egg
> cd pysqlite-2.0.7-py2.4-linux-i686.egg
> unzip ../foo.zip
> rm ../foo.zip
> 
> Now the egg file is unpacked, so the files are all present already in
> the filesystem, nothing needs to be unpacked, PYTHON_EGG_CACHE is
> irrelevant, and everybody is happy.
> 
> Perhaps that would work for you as well?
> 
> --
> Brett Neumeier <random at rnd.cx>

That does work, and thanks. I am sort of intellectually curious though as
to why the python interpreter is not honouring the environment variable.

Jeremy



More information about the Trac mailing list