[Distutils] PEP 376 Status
Tarek Ziadé
ziade.tarek at gmail.com
Mon Mar 29 23:42:19 CEST 2010
On Mon, Mar 29, 2010 at 6:20 PM, Sridhar Ratnakumar
<sridharr at activestate.com> wrote:
>
> 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.
I guess we could generate METADATA through sdist but not the other files.
I am a bit worried of having a partial .dist-info directory though, not sure why
Tarek
--
Tarek Ziadé | http://ziade.org
More information about the Distutils-SIG
mailing list