Odd files; just left behind?
John J. Lee
jjl at pobox.com
Wed Sep 19 15:39:36 EDT 2007
Robin Becker <robin at reportlab.com> writes:
> I see a folder .python-eggs in my home directory on one of our servers
> with various .so files
>
> ~/.python-eggs/MySQL_python-1.2.2-py2.3-freebsd-6.1-SECURITY-i386.egg-tmp/_mysql.so
>
> are these just left behind from some install process?
Ah, it's about the resource extraction feature of setuptools. It's
possible for zipped eggs to contain resources that have to be
extracted to the filesystem. It puts them in the directory you saw
(or somewhere else -- see the docstring in my other reply).
http://peak.telecommunity.com/DevCenter/PkgResources#resource-extraction
http://peak.telecommunity.com/DevCenter/setuptools#automatic-resource-extraction
John
More information about the Python-list
mailing list