Overview

buildout.tweak provide tiny tweaks for zc.buildout.

Features

  • interpreter displaying python's version banner

Using sample: for interpreter banner

Write buildout.cfg:

[buildout]
parts = ham

[ham]
recipe = zc.recipe.egg
interpreter = py

Run bootstrap and buildout:

$ python bootstrap.py
$ bin/buildout
...

You get no banner by run bin/py:

$ bin/py

>>>

Now update buildout.cfg to use buildout.tweak extension:

[buildout]
parts = ham
extensions = buildout.tweak

[ham]
recipe = zc.recipe.egg
interpreter = py

And run buildout again:

$ bin/buildout
...

Now you get version banner by run bin/py:

$ bin/py
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
>>>

Requirements

  • Python 2.4 or later

Dependencies

ToDo

  • add other tweaks.

History

0.1.0 (2011-6-20)

  • first release