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!

zc.buildout extension to automatically include requirement extras

Project Description


Buildout (zc.buildout) extension for including setuptools extras_require options for all items in a target option if the extra exists.


This is a buildout extension, so simply add it to your extensions list:

extensions = buildout.autoextras


There are two options…

A list of extra keys (e.g. test, zcml, etc.) that should be included if the package has the extra.
A list of targets to check for the extras. For example, a buildout part named demo that has an eggs option. The target in this case would be demo:eggs. This is similar to zc.buildout’s variable replace syntax except without the ${} symbolling.

Together these options might look something like:

extensions = buildout.autoextras
parts = demo
autoextra-keys = zcml
autoextra-targets = demo:eggs

recipe = zc.recipe.eggs
eggs =


1.1 (2011-10-25)

  • Monkeypatching zc.buildout.easy_install.Installer’s install method in order to post-process the distributions. Otherwise, we run into an order of operations problem (e.g. obtaining eggs before some eggs have been marked for development). [pumazi]

1.0 (2011-10-21)

  • Initial release. [pumazi]
Release History

Release History

This version
History Node


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
buildout.autoextras-1.1.tar.gz (6.2 kB) Copy SHA256 Checksum SHA256 Source Oct 25, 2011

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