At 10:13 AM 9/14/2009 -0400, Glyph Lefkowitz wrote:
Setuptools must be able to do it internally, but I can't find an API in the documentation.
The only time setuptools pays any attention to PKG-INFO metadata is to get a package's version when the filename isn't enough to determine it - something that usually happens only on an in-development copy of a package.
All of the metadata that it uses comes from setuptools-defined files, and is provided via the API of Distribution objects:
http://peak.telecommunity.com/DevCenter/PkgResources#distribution-objects _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig