If I'm understanding well the april thread about templating we should concentrate our effort around collective.recipe.template.
Gary Poster a écrit : > Shameless plug: try z3c.recipe.filetemplate. > http://pypi.python.org/pypi/z3c.recipe.filetemplate . Sounds like it > does what you want out of the box. > > Gary > > On Aug 27, 2009, at 9:14 AM, Encolpe Degoute wrote: > >> Hello, >> >> These last days I was using collective.recipe.template and >> gocept.recipe.env. >> >> The second one just update options with os.environ. >> Unix shell having their own substitution methods then '${' appearing in >> the .installed.cfg. It just blows if you try to rerun 'bin/buildout. >> >> As zc.buildout is using something near string.template I patched >> gocept.recipe.env to replace '$' by '$$' and collective.recipe.template >> to replace '$$' by '$'. >> As _sub method in builout just split text around '$$' and join it again >> with '$$' we need to make the replacement with the result of this >> method. >> >> Is it the good way to deal with escaping data ? >> Or is this a bug of zc.buildout ? >> >> Regards, >> -- >> Encolpe DEGOUTE >> http://encolpe.wordpress.com/ >> http://encolpe.degoute.free.fr/ >> Logiciels libres, hockey sur glace et autres activités cérébrales >> >> _______________________________________________ >> Zope-Dev maillist - [email protected] >> http://mail.zope.org/mailman/listinfo/zope-dev >> ** No cross posts or HTML encoding! ** >> (Related lists - >> http://mail.zope.org/mailman/listinfo/zope-announce >> http://mail.zope.org/mailman/listinfo/zope ) > > -- Encolpe DEGOUTE http://encolpe.degoute.free.fr/ Logiciels libres, hockey sur glace et autres activités cérébrales _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
