On Sep 10, 2008, at 5:13 AM, skip@pobox.com wrote:
If I have a package installed as a zip file egg and ask for its __file__ I might get a reference which looks like a normal file system path but isn't:
I advise people to add to their distutils config file: [easy_install] zip_ok=False In addition, I suggest that setuptools should be changed to install eggs unzipped by default, as there is a list of problems and inconveniences with zipping eggs and, as far as I am aware, no measured benefits. Here is the issue ticket, in which your problem, Skip, is the most recent entry in the list: http://bugs.python.org/setuptools/issue33 Regards, Zooko --- http://allmydata.org -- Tahoe, the Least-Authority Filesystem http://allmydata.com -- back up all your files for $5/month