[Distutils] does pypi or red-dove have a better firehose API than "download all the packages"?

Donald Stufft donald at stufft.io
Fri May 24 17:32:09 CEST 2013


On May 24, 2013, at 11:21 AM, Vinay Sajip <vinay_sajip at 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 at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130524/fa82a167/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130524/fa82a167/attachment.pgp>


More information about the Distutils-SIG mailing list