[Distutils] zc.buildout: Declare options in a recipe and use it in another recipe

udono udono at gmx.net
Tue Aug 10 17:37:09 CEST 2010


Hello Jim,

On Tue, Aug 10, 2010 at 10:41 AM, -0400 Jim Fulton wrote:
> On Tue, Aug 10, 2010 at 10:27 AM, Udo Spallek <udono at gmx.net> wrote:
> > How can I declare and transport options from one recipe script to
> > another?
[...]
> You must do this in __init__, not in install.  Options are
> resolved before installation methods are called, so for
> a recipe to create options to be consumed by other
> recipes, it must do so in the __init__ method.
Yes, thats it. Thanks a lot!

Cheers Udo



More information about the Distutils-SIG mailing list