[Distutils] introspecting package data

Chris Withers chris at simplistix.co.uk
Tue Jul 7 03:18:38 CEST 2009


David Lyon wrote:
> 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..

No, that's not what Tarek said at all, perhaps he can comment on why a 
static metadata system needs to provide a registry mechanism so that 
arbitrary code can be called?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Distutils-SIG mailing list