Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

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

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.