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

Sridhar Ratnakumar sridharr at activestate.com
Mon Jul 20 22:26:44 CEST 2009


On Sat, 18 Jul 2009 19:31:36 -0700, P.J. Eby <pje at telecommunity.com> wrote:

> discovery.resources -- basically pkg_resources under a different name

It may also be worth adding support for parsing the files under .egg-info  
- for instance, those 'extras' in requires.txt. Currently, even pip  
hardcodes the parsing of requires.txt and I believe there isn't code in  
setuptools to parse this file (so easy_install uses setup.py' setup()  
arguments?).

Or even better .. extend PKG-INFO with setuptools' style requires list and  
entry points.

Please don't suggest to parse setup.py or its output (which is messy with  
all those warning messages in stdout, for instance).

-srid


More information about the Distutils-SIG mailing list