Skip to main content

A `zc.buildout` extension to extract the package name from an adjacent `setup.py`.

Project description

buildout.packagename is a zc.buildout extension which can be used to extract the package name of an adjacent setup.py to avoid redundancy. The extracted name is made available via the package-name variable in the [buildout] section, i.e. as ${buildout:package-name}.

Usage

An example buildout.cfg using the extension might look like this:

[buildout]
extensions = buildout.packagename
parts = app

[app]
recipe = zc.recipe.egg
interpreter = app
eggs = ${buildout:package-name}

Please note that since using this extension only makes sense for package-specific buildouts, the develop setting is set to “.” for added convenience.

Changelog

1.0 (2012-10-27)

  • Initial release. [witsch]

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.

Source Distribution

buildout.packagename-1.0.zip (7.3 kB view details)

Uploaded Source

File details

Details for the file buildout.packagename-1.0.zip.

File metadata

File hashes

Hashes for buildout.packagename-1.0.zip
Algorithm Hash digest
SHA256 9ce504480fa13da810b13b87d75a1331482246136f518c2fe6d676694ba1ef91
MD5 307f0fdd8abbe2690ec5c801d7eaafd1
BLAKE2b-256 d9230476a07031dae53cf67fe8ef721fc6b026633c29efc58027a98713bd7363

See more details on using hashes here.

Supported by

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