[Distutils] introspecting package data

David Lyon david.lyon at preisshare.net
Tue Jul 7 01:30:24 CEST 2009


On Mon, 06 Jul 2009 19:52:38 +0100, Chris Withers <chris at simplistix.co.uk>
wrote:
> Tarek Ziadé wrote:
>> Yes,  as long as the metadata are in a python file, you're in trouble
>> to automate anything like you are mentioning.
>> But a static metadata system needs to provide a registery mechanism,
>> so we can call some arbitrary code
>> when some metadata are generated at installation time for instance.
> 
> I don't follow this at all. Why is arbitrary code needed?

I think what he means is that he doesn't like the way it is at the
moment and thinks that the version numbers and other metadata should 
sit in a config file somewhere.

Then the setup.py can be generated from the metadata..

David


More information about the Distutils-SIG mailing list