On Mon, 20 Jul 2009 19:46:49 -0700, P.J. Eby <[email protected]> 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'.
-srid
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig