[Distutils] setup.cfg new format proposal

Tres Seaver tseaver at palladion.com
Fri Sep 18 22:01:01 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Withers wrote:
> Sridhar Ratnakumar wrote:
>>> I may be missing some context, but I did about an hour of googling around
>>> before responding here, and for the life of me I can't find a simple 
>>> answer
>>> to the question: how do I currently programatically get the metadata 
>>> out of
>>> a distribution?
>> http://pypi.python.org/pypi/pkginfo/
> 
> Yeah, but you have to remember to sacrifice the right goats to end up 
> with the right things in whatever files pkginfo uses :-(

You bothering the goats again, Chris? ;)

pkginfo uses the standard information generated by the 'sdist',
'develop' and 'bdist_egg' commenads, and can even introspect installed
packages on Python 2.6.x.  It is documented here:

  http://packages.python.org/pkginfo/


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKs+b9+gerLs4ltQ4RApBrAKCvmK97Xd1rdrrDVgPkiDWhHA1bzACfTlHh
I9kbSb19HRCfXyaQJ4RaSSE=
=HNfh
-----END PGP SIGNATURE-----



More information about the Distutils-SIG mailing list