Commit c4d64710 authored by Kai Lautaportti's avatar Kai Lautaportti

Documentation updates.


git-svn-id: https://svn.hexagonit.fi/hexagonit.recipe.cmmi/trunk@4536 b96f28ea-bbdf-0310-b3b3-e15a02b9f88d
parent 08213670
......@@ -6,6 +6,7 @@ Recipe for compiling and installing software
The recipe provides the means to compile and install source
distributions using ``configure`` and ``make``. It is inspired by the
zc.recipe.cmmi_ recipe.
zc.recipe.cmmi_ recipe but provides more control over the build
process.
.. _zc.recipe.cmmi : http://cheeseshop.python.org/pypi/zc.recipe.cmmi
......@@ -193,13 +193,14 @@ global ``buildout`` dictionary.
Let's create a simple python script to demonstrate the
functionality. You can naturally have separate scripts for each hook
or simply use just one or two hooks, here we just use a single module.
or simply use just one or two hooks. Here we use just a single module.
>>> hooks = tmpdir('hooks')
>>> write(hooks, 'customhandlers.py',
... """
... import logging
... log = logging.getLogger('hook')
...
... def preconfigure(options, buildout):
... log.info('This is pre-configure-hook!')
...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment