Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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]
Release History

Release History

This version
History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (7.3 kB) Copy SHA256 Checksum SHA256 Source Oct 26, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting