Skip to main content

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]

Release files for buildout.packagename 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for buildout.packagename 1.0
File Size Uploaded
buildout.packagename-1.0.zip 7.3 kB Details

Release files / buildout.packagename-1.0.zip

Download URL buildout.packagename-1.0.zip
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9ce504480fa13da810b13b87d75a1331482246136f518c2fe6d676694ba1ef91
BLAKE2b-256 checksum
How to use checksums
d9230476a07031dae53cf67fe8ef721fc6b026633c29efc58027a98713bd7363
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page