Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install koansys.recipe.hooks

How to install koansys.recipe.hooks

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install koansys.recipe.hooks
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1-dev-r8 Available View build log
Windows (64-bit)
0.1-dev-r8 Available View build log
Mac OS X (10.5+)
0.1-dev-r8 Available View build log
Linux (32-bit)
0.1-dev-r8 Available View build log
Linux (64-bit)
0.1-dev-r8 Available View build log
 
Author
License
GPL
Dependencies
Lastest release
version 0.1-dev-r8 on Jan 5th, 2011

Supported options

hooks Custom python script(s) and method(s) that will be executed. The format of the options is:

/path/to/the/module.py:name_of_callable

where the first part is a filesystem path to the python module and the second part is the name of the callable in the module that will be called. The callable will be passed two parameters: the options dictionary from the recipe and the global buildout dictionary. The callable is not expected to return anything.

This code was essentially ripped out of plone.recipe.command_ and hexagonit.recipe.cmmi

System Message: WARNING/2 (<string>, line 19)

malformed hyperlink target.

Example usage

It can be helpful to define in [buildout] a:

System Message: WARNING/2 (<string>, line 28)

Literal block expected; none found.

hooks = ${buildout:directory}/hooks

then invoke like:

[your_part_section]

System Message: ERROR/3 (<string>, line 33)

Inconsistent literal block quoting.

hooks = ${buildout:hooks}/hookfile.py:methodname

The value of 'hooks' can be a whitespace-separated list of files:methods to specify multiple hooks that are executed in order. You can also specify options that can be used in your hooks. Example:

[your_part_section]

System Message: ERROR/3 (<string>, line 41)

Inconsistent literal block quoting.

hooks = ${buildout:hooks}/hookfile1.py:methodname1 ${buildout:hooks}/hookfile2.py:methodname2 ${buildout:hooks}/hookfile2.py:methodname3 option1 = xyzzy option2 = You won't get it up the stairs.

Docutils System Messages

System Message: ERROR/3 (<string>, line 16); backlink

Unknown target name: "plone.recipe.command".

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.