[Distutils] PEP 376 Status

Sridhar Ratnakumar sridharr at activestate.com
Mon Mar 29 18:20:46 CEST 2010


On 2010-03-29, at 12:32 AM, Tarek Ziadé wrote:

> On Thu, Mar 25, 2010 at 8:56 PM, Sridhar Ratnakumar
> <sridharr at activestate.com> wrote:
> [..]
>> 
>> +1
>> I presume sdist too, if generated with 'python setup.py sdist', will contain
>> this .dist-info directory?
> 
> I don't think so, because part of the files are generated at installation time.
> 
> Do you have something in mind ?


Yes, I read metadata of source distributions by trying to find the PKG-INFO files and extracting at least Name and Version from it (using filenames is unreliable -- eg: "latest.zip"). I thought that due to environment markers and such changes hinting static metadata, the source distribution will at least have METADATA (formerly PKG-INFO) in it. Will that be the case with distutuils2? I know that distutils/setuptools includes PKG-INFO.

-srid




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20100329/cfdbe2ed/attachment.html>


More information about the Distutils-SIG mailing list