[Distutils] templates for .cfg in zc.buildout

Tarek Ziadé ziade.tarek at gmail.com
Mon Dec 24 13:47:47 CET 2007


Hello,

I have posted a message earlier about having a way to play with the
environment in cfg files
(http://www.nabble.com/zc.buildout-:-Playing-with-environment-in-cfg-files-td13577833.html#a13577833)

we came up with a simple way to deal with this, using templates for our cfg
files.

See iw.buildout:
https://ingeniweb.svn.sourceforge.net/svnroot/ingeniweb/iw.buildout/trunk/iw/buildout/docs/README.txt

This reduces a lot the number of cfg files we need when we work over
applications that are installed under win32 and developed by linux users for
instance.

I would like to propose this enhancement for inclusion in zc.buildout if you
think it's a good idea,
to avoid maintaining another package on the top of zc.buildout.

I guess we could refactor it so it uses either simple string templates,
either cheetah templates.

++
Tarek
-- 
View this message in context: http://www.nabble.com/templates-for-.cfg-in-zc.buildout-tp14487365p14487365.html
Sent from the Python - distutils-sig mailing list archive at Nabble.com.



More information about the Distutils-SIG mailing list