z3c.recipe.filetemplate to support exclude directories

Bruno Binet <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
Hi,

I'm not sure this is the right mailing to talk about
z3c.recipe.filetemplate, so please point me to the official list if
any.
I usually use z3c.recipe.filetemplate with "source-directory = ." so
that every "*.in" file are substituted, but I recently encounter an
error since zope.configuration egg contains both files
configure.zcml.in and configure.zcml, which results in:
"Error: Destinations already exist:
buildout/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/tests/samplepackage/configure.zcml.
Please make sure that you really want to generate these automatically.
 Then move them away."

I haven't found any way to exclude directories in
z3c.recipe.filetemplate, so I quickly implemented an
"exclude-directories" option to fix that [1], but it would be great if
such an option could be included in a new z3c.recipe.filetemplate
release.
I would be happy to provide a patch if needed.

Cheers,
Bruno

[1] https://github.com/camptocamp/z3c.recipe.filetemplate/compare/c83b1321c8dc6b41d410...master

-- 
Bruno Binet

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.