I am trying to find tutorials on how to write buildout recipes. I haven't found any, except the one on buildout site. But it is very rudimentary. Is there a good tutorial for writing buildout recipes?
http://pypi.python.org/pypi/ZopeSkel/ has a template for a buildout recipe. That at least gets you started regarding having a skeleton for adding your own code.
http://pypi.python.org/pypi/zc.buildout#id1 has some information on which methods you need to implement.
Best way to learn it is by looking at an existing recipe to see how it gets done. I'd suggest my own recipe :-) :
https://svn.plone.org/svn/collective/buildout/collective.recipe.backup/trunk/
A quick google search came back with the following:
http://docs.plone.org/old-reference-manuals/buildout/creating.html
And the answers in the following Stack Overflow question look pretty helpful as well:
Here's a short tutorial with basic information http://grok.zope.org/documentation/tutorial/introduction-to-zc.buildout/writing-your-own-recipes
© 2022 - 2024 — McMap. All rights reserved.