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

Sridhar Ratnakumar sridharr at activestate.com
Wed Jul 22 02:07:45 CEST 2009

On Mon, 20 Jul 2009 19:46:49 -0700, P.J. Eby <pje at telecommunity.com> wrote:

> 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.

Done - http://bugs.python.org/setuptools/issue82

And it is `_Distribution__depmap`, not '_dep_map'.


More information about the Distutils-SIG mailing list