[Distutils] Static metadata using setup.cfg

Chris Withers chris at simplistix.co.uk
Fri Sep 18 12:06:27 CEST 2009


Tarek Ziadé wrote:
>> [setup.cfg]
>>
>> long_description_path: README.txt
>>
>>
>>> long_description_path can't be added in the final PKG-INFO because
>>> we want a self-contained metadata static file that doesn't require an
>>> extra resource (like an external file)
>> Why this requirement?
> 
> Where this external file would it be located ?
> There's just *one* metadata file that contains everything.

Fine, so when you generate setup.cfg from setup.cfg.in, process the 
long_description_path at that point and only insert the resulting 
long_description in setup.cfg .

cheers,

Chris

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


More information about the Distutils-SIG mailing list