[Distutils] How to specific metadata version in setup.py?

Tarek Ziadé ziade.tarek at gmail.com
Sat Mar 20 20:57:37 CET 2010


On Sat, Mar 20, 2010 at 12:39 PM, Tres Seaver <tseaver at palladion.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Tarek Ziadé wrote:
>> On Sat, Mar 20, 2010 at 3:33 AM, Sridhar Ratnakumar
>> <sridharr at activestate.com> wrote:
>> [..]
>>> There's no tool out there that understand
>>> PEP 345 / 1.2 yet.
>>>
>>> Apparently pkginfo supports PEP 345 (see above).
>>
>>
>> It's an old version of PEP 345. It misses for example:
>>
>> - Project-Url
>> - environment markers
>>
>> I think Tres added PEP 345 support a while ago, and it needs an upgrade
>
> I'm happy to take patches which add support for parsing the extra fields
> and environment syntac, but given that no tools are *emitting* them yet,
> I'm not likely to get around to adding them myself for a bit.
>
>  $ bzr co lp:~tseaver/pkginfo/trunk
>
> :)
>

I am planning to release a first alpha of distutils2 sometimes in
April, as soon as I have finished the implementation on PyPI side, so
it can accept these new fields. So that will be the first tool that
emit them.

Next, I think the pkginfo project is very close to the new
DistutilsMetadata class in distutils2 : it write *and* reads
the PKG-INFO file, so I am more likely to focus on the distutils2
implementation at this point.

Regards,
Tarek

-- 
Tarek Ziadé | http://ziade.org


More information about the Distutils-SIG mailing list