Hi All,

Here's the scenario; we have per-project buildouts, but where and how people lay out their checkouts and how they access svn (svn:// versus http:// versus https:// externally).

Buildout lends itself to this flexibility by having the per-project buildouts use templated values, with those values being specified in ~/.buildout/default.cfg

...except, this doesn't seem to work for buildout:extends.

For example, here's a project buildout:

[buildout]
extends = ${buildout:base_location}/versions/repoze.bfg-1.2-versions.cfg
...

And here's what's in ~/.buildout/default.cfg:

[buildout]
base_location = /Users/chris/LocalSVN/base

...but, the normal ${} substitution doesn't appear to happen in the extends line, so I get the following error:

IOError: [Errno 2] No such file or directory: '/Users/chris.withers/LocalSVN/demoapp/${buildout:base_location}/versions/repoze.bfg-1.2-versions.cfg'

What am I doing wrong?
How can I achieve my aims with buildout 1.4.3 or later?

cheers,

Chris

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to