[Distutils] extending PKG-INFO .. or having a standard/library for reading setuptools' metadata

P.J. Eby pje at telecommunity.com
Tue Jul 21 04:46:49 CEST 2009


At 05:39 PM 7/20/2009 -0700, Sridhar Ratnakumar wrote:
>I've already looked into that before (in pkg_resources.py) -
>unfortunately, this does not return all of requires.txt (as Python dict,
>that is), but only *what* you specify in the 'extras' argument (how am I
>supposed to know the /possible/ extras sections beforehand?).

Ah, you didn't say that, you just said "parse".  If you'll file a 
feature request, I'll replace _dep_map with a public attribute for 
accessing that information in a future release.  In the meantime, 
you're quite safe using ._dep_map, since obviously I'm not going to 
change it out from under you.  ;-)



More information about the Distutils-SIG mailing list