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

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to