[Distutils] [zc.buildout] versions section

Jim Fulton jim at zope.com
Wed Jul 16 16:11:24 CEST 2008


On Jul 16, 2008, at 10:07 AM, Chris Withers wrote:

> Jim Fulton wrote:
>>> As best I can tell, it seems to be a recipe name used in a part.
>> No.
>
> So the versions specified in a versions section apply to all uses of  
> a "project"? (regardless of whether the project is an egg, a recipe,  
> or something else?)

Yes.  A recipe is installed as an egg.  The value of a recipe option  
is just a distribution (i.e. egg) requirement specification.

> Okay, what happens if I don't use a versions section and some egg  
> has a dependency incompatible with a version of an egg I've  
> specified elsewhere? (say in an egg recipe section?)

You'd get an error. This can happen whether or not you have a versions  
section.

Jim

--
Jim Fulton
Zope Corporation




More information about the Distutils-SIG mailing list