Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

Project description

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


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

extensions = buildout.packagename
parts = 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.


1.0 (2012-10-27)

  • Initial release. [witsch]

Project details

Release history Release notifications

This version


Download files

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

Files for buildout.packagename, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size (7.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page