Odd files; just left behind?

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Thu Sep 20 04:00:41 EDT 2007


Robin Becker a écrit :
> John J. Lee wrote:
> 
>> 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 
>>
> 
> .....
> Thanks John, but why not clean up?
> 
Does it needs to be "cleaned up" ? .so files (shared libs) *need* to be 
extracted from the egg to be usable. Where they are extracted is IIRC 
configurable...



More information about the Python-list mailing list