[Distutils] [buildout] develop vs extends/default.cfg

Jim Fulton jim at zope.com
Tue Jun 1 16:14:40 CEST 2010

On Tue, Jun 1, 2010 at 9:22 AM, Chris Withers <chris at simplistix.co.uk> wrote:
> Hi All,
> What is the expected behaviour when the following are all true:
> - default.cfg has a develop key
> - buildout.cfg has a develop key, and extends a base.bfg
> - base.cfg has a develop key
> My hope is that all 3 should be set unioned for the develop options.
> However, my experience so far is that, at the least, the one in default.cfg
> is ignored...

When a file extends another, it's options *override* options in the
extended file unless you use += in the extending file, as in:

  develop += foo

In which case, the new option values are appended to the ones from
the extended file.


Jim Fulton

More information about the Distutils-SIG mailing list