On May 24, 2013, at 11:21 AM, Vinay Sajip <vinay_sa...@yahoo.co.uk> wrote:

> Donald Stufft <donald <at> stufft.io> writes:
> 
>> Most packages also have an egg-info inside of them you can parse.
> 
> I don't know how accurate that information is - IIRC pip always runs
> egg-info on downloaded archives. I presume this is to get the correct
> dependencies which are relevant to the installation system.

That information is typically accurate but it's for the system that generated 
the package.

> 
> The red-dove metadata is not always completely accurate since it depends on
> the specific environment the metadata scan runs in (most issues come from
> dependencies which differ according to Python version, but there could be
> OS-specific dependencies too which I'm not capturing). I view this
> automatically generated metadata as a stop-gap until better metadata comes
> along; I needed to experiment with metadata formats and migration approaches
> with real data. No doubt there will be tools to help migrate setup.py
> metadata to alternative metadata formats as my code currently does, by which
> I mean tools that users can run on their own machines so I can get some
> sleep at night :-)
> 
> Regards,
> 
> Vinay Sajip
> 
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG@python.org
> http://mail.python.org/mailman/listinfo/distutils-sig


-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to