[Distutils] PEP 376 for Distutils

Ronald Oussoren ronaldoussoren at mac.com
Tue Feb 24 16:45:39 CET 2009


On 24 Feb, 2009, at 16:20, P.J. Eby wrote:
>
>> Indeed. Having an index file would make things a whole lot simpler.
>
> For *whom*?  Certainly not for system packaging tools (rpm, deb, et  
> al).
>
> A design goal should be to allow system packaging tools to install a  
> static file footprint: i.e., independent files with predefined  
> content, and no post-processing steps.  You can't do that with a  
> shared file, which is why setuptools uses a .pth hack to install  
> namespace packages when building packages for rpm et al.

What about another interoperability hook for system packages: specify  
a file that a (system) package manager can include into the egg-info  
directory (or egg-file) to tell setuptools/pip that this egg is  
managed by the system and hence shouldn't be removed by setuptools/pip.

Which such a file the user of python package tool could be warned if  
he tries to uninstall an egg that's owned by the system, instead of  
invoking the wrath of a sysadmin by removing such files.

Ronald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2224 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20090224/87685ba3/attachment.bin>


More information about the Distutils-SIG mailing list