Skip to content

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

Notifications You must be signed in to change notification settings

witsch/buildout.packagename

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages