[Distutils] setup.cfg new format proposal

P.J. Eby pje at telecommunity.com
Tue Sep 15 01:05:06 CEST 2009


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



More information about the Distutils-SIG mailing list