Skip to main content

Use simple python scripts as zc.buildout extensions

Project description

buildout.extensionscripts is a convenient way to shoot yourself in the foot and provides more than enough rope to hang yourself.

With that out of the way, we can look what it can be used for.

To use buildout.extensionscripts, you add it as an extension in a buildout like this:

[buildout]
extensions = buildout.extensionscripts

After that you can add one or more lines like the following to the buildout section:

extension-scripts =
    ${buildout:directory}/somescript.py:callable_name

When you do that, you got an easy way to write a buildout extensions without the need of an egg. The callable_name in somescript.py will be called with one argument which is the dictionary like buildout config.

Now have fun shooting and or hanging yourself by changing that.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Files for buildout.extensionscripts, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size buildout.extensionscripts-1.0.zip (5.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page