Metadata

Distro Index Owner:
eea
Home Page:
buildout.autoextras
License
GPL
Version:
1.2rc2
Last updated:
2017-10-06
Keywords:
plone buildout

buildout.autoextras

Files

Indexes

zc.buildout extension to automatically include requirement extras

buildout.autoextras

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

Usage

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

[buildout]
extensions = buildout.autoextras

Options

There are two options...

autoextra-keys
A list of extra keys (e.g. test, zcml, etc.) that should be included if the package has the extra.
autoextra-targets
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:

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

[demo]
recipe = zc.recipe.eggs
eggs =
    zope.testing
    zope.i18n

Changelog

1.2.rc2 (2017-10-06)

  • Update to work with zc.buildout 2.9.3 [avoinea]

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]