Skip to main content

Use simple python scripts as zc.buildout extensions

Project description

Introduction

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.

Changes

1.1 - 2025-04-26

Support Python 3.12.

1.0 - 2009-10-07

Initial release.

Project details


Download files

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

Source Distribution

buildout_extensionscripts-1.1.zip (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

buildout_extensionscripts-1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file buildout_extensionscripts-1.1.zip.

File metadata

  • Download URL: buildout_extensionscripts-1.1.zip
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: devpi-server/6.14.0 (py3.11.11; darwin)

File hashes

Hashes for buildout_extensionscripts-1.1.zip
Algorithm Hash digest
SHA256 0aff96cb1902d86bbad01eb1529460d028a1aa2912f4f8438cd79bd167454297
MD5 1d839584cbc2b194d6a0ffe7d5a0b386
BLAKE2b-256 687a68796c3f3962d3ae2225b3a2db00d45e59472f1d0494de9135f1f7dab4e6

See more details on using hashes here.

File details

Details for the file buildout_extensionscripts-1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for buildout_extensionscripts-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 359023a58e3ce2dfb6524c29de592f6357bb11ee61128c86a0e3f7019c065f70
MD5 02561b5cb6118f86e82c303a3eba8d18
BLAKE2b-256 f79bb3aaffdd5c867aa60481673a05918b041f96b330867eb37a5246af0633a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page