Skip to content

Instantly share code, notes, and snippets.

@mgrbyte
Last active August 29, 2015 14:16
Show Gist options
  • Save mgrbyte/9c1f3f81e8393c5cc94b to your computer and use it in GitHub Desktop.
Save mgrbyte/9c1f3f81e8393c5cc94b to your computer and use it in GitHub Desktop.
[buildout]
parts = mything
referer
[mything]
recipe = collective.recipe.genshi
input = myfile.in
output = ${buildout:parts-directory}/${:_buildout_section_name_}/myfile.out
[referer]
recipe = collective.recipe.supervisor
programs =
10 cat bin/cat [ ${buildout:parts-directory}/mything/mything.out ] true
@mgrbyte
Copy link
Author

mgrbyte commented Mar 4, 2015

buildout_section_name is a "special" variable that points to the current part, "mything" in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment