Documentation on writing buildout recipes [closed]
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 yea开发者_如何学编程rs ago.
Improve this questionI 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/
Here's a short tutorial with basic information http://grok.zope.org/documentation/tutorial/introduction-to-zc.buildout/writing-your-own-recipes
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:
Better resources to learn buildout
精彩评论