[Distutils] Draft PEP for JSON based metadata published

Daniel Holth dholth at gmail.com
Thu Jun 6 22:41:08 CEST 2013


On Thu, Jun 6, 2013 at 3:31 PM, holger krekel <holger at merlinux.eu> wrote:
> On Thu, May 30, 2013 at 22:26 -0400, Daniel Holth wrote:
>> On Thu, May 30, 2013 at 2:28 PM, holger krekel <holger at merlinux.eu> wrote:
>> No one actually parses PKG-INFO so I expect the Metadata 2.0
>> transition to be relatively painless.
>
> I am actually intending to do exactly that in devpi-server.
> It's the only method to obtain metadata from a tar file without
> running setup.py ASFAIK.
>
> That being said, when a new format and file comes around
> i am happy to detect that instead, i guess.

Unfortunately if you author a pypi server I count you as "no one" for
this exercise. :-P And the most useful requirements metadata is in a
setuptools .txt file anyway.

Once you start seeing sdists with a .dist-info directory instead of an
.egg-info or nothing you'll just look for pymeta.json. Wheel has code
to convert from .egg-info to the newer formats.


More information about the Distutils-SIG mailing list