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

> On Thu, Mar 25, 2010 at 8:56 PM, Sridhar Ratnakumar
> <[email protected]> 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




_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to