[Distutils] PEP 376 for Distutils

Floris Bruynooghe floris.bruynooghe at gmail.com
Tue Feb 24 19:30:31 CET 2009


On Tue, Feb 24, 2009 at 04:39:24PM +0100, Ronald Oussoren wrote:
>
> On 24 Feb, 2009, at 13:33, Tarek Ziadé wrote:
>>
>>
>> 2009/2/24 Joachim König <him at online.de>:
>>> An other option could be to put the egg-info dir into the package  
>>> itself, e.g.
>>>
>>> zlib/
>>>   __init__.py
>>>   egg-info/
>>>       PKG-INFO
>>>       MANIFEST
>>>       RECORD
>>>  ...
>>
>> This would require setuptools and pip to change the way they look for
>> the packages,
>
> Not only that, it also requires that the name of the distribution is the 
> same as the name of (one of) its python packages. I have several  
> projects where this correspondence is not present.

It also requires that a distribution installs a package.  What about
single-module packages?


>> Indeed. Having an index file would make things a whole lot simpler.
>
> I don't see how this would make thing easier. An index file introduces  
> another concept and requires care to ensure that it doesn't get out of  
> date.

An index file should probably a be private optimisation of a tool and
not be required or standard.  See also P. Eby's arguments about this.


Regards
Floris


-- 
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org


More information about the Distutils-SIG mailing list