[Distutils] How to get list of package requirements from PyPI without downloading egg?

Jeremy Kloth jeremy.kloth at 4suite.org
Thu Oct 26 23:04:22 CEST 2006


On Thursday 26 October 2006 2:41 pm, Phillip J. Eby wrote:
> At 01:58 PM 10/26/2006 -0600, Jeremy Kloth wrote:
> >The consumer of those fields is actually the PackageManager class:
> >
> >http://cvs.4suite.org/viewcvs/4Suite/Ft/Lib/DistExt/PackageManager.py?view
> >=markup
>
> Yeah, I'm still not getting what it *does* with this information.  What's
> it *for*?

Since there is no current way to get the requires/provides/obsoletes from PyPI 
RPC, they are used to determine the sub-package installation order and to 
verify that the requirements are installed if not already provided by another 
sub-package.

PackageManager doesn't do any downloading as it is pointless until those 
fields become available through RPC.  And no, I have no desire to do screen 
scraping to get their values.

-- 
Jeremy Kloth
http://4suite.org/


More information about the Distutils-SIG mailing list