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>