[Zope-dev] zc.buildout installing parts not asked for

Fred Drake fdrake at gmail.com
Sat Oct 27 17:47:11 EDT 2007


On 10/27/07, TIm Terlegård <tim.terlegard at valentinewebsystems.se> wrote:
> When using zc.buildout I discovered that it installed a part that I
> didn't
> specify in the 'parts' option. This happened because I referenced this
> part somewhere else. Is this how it's supposed to be? I would prefer
> if it
> only installs the parts I specify in parts. I don't see anything
> wrong with
> reusing options from a part that I don't necessarily want to install.

When a part refers to another part via ${...} variable expansion, a
dependency between parts is established.  If you don't want a
dependency, move the setting into a separate section (with no recipe
setting) and reference that from both parts that need the setting.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller


More information about the Zope-Dev mailing list