Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Buildout extension to extend only sections in parts

Project Description
A buildout extension to allow any section of 'parts' to define options
which will be appended to an option of another section.

Example configuration

extensions = erp5.extension.sectionextender

section-extender =
supervisor-instance:programs supervisor-program

parts =

recipe = collective.recipe.supervisor

recipe =
supervisor-program = 21 test1-instance test1-instance

recipe =
supervisor-program = 22 test2-instance test2-instance

recipe =
supervisor-program = 23 test3-instance test3-instance

With this configuration, 'supervisor-program' options in
'test1-instance' and 'test3-instance' will be added to
'${supervisor-instance:programs}', but not 'test2-instance' as it's
not in 'parts'.

You can specify several sections to be extended by just adding them to
'section-extender' (one per line).

- pep8


- Do not assume buildout::parts to be linebreak-separated. It could be
normalized to whitespace-separated values by some other code.


- Improve the way to declare a section extender by having a single
option 'section-extender' and one section per line as its values.
Many thanks to Mustapha Benali for the review and suggestion.


- initial release
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
erp5.extension.sectionextender-0.3.1.tar.gz (3.3 kB) Copy SHA256 Checksum SHA256 Source Jan 30, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting