[Distutils] [zc.buildout] repeatable buildouts

Jim Fulton jim at zope.com
Wed Jul 16 15:38:59 CEST 2008


On Jul 15, 2008, at 6:24 PM, Chris Withers wrote:

> Jim Fulton wrote:
>>> Is the 'versions' name in the [buildout] section meaningful to  
>>> buildout?
>> The versions option in the buildout section specifies the name of a  
>> section containing version information.
>
> OK.
>
>>> what are the keys in a version section? just egg versions or  
>>> something else?
>> project names
>
> Not sure what a "project name" is in buildout parlance.

See Tres' explanation.


>
> As best I can tell, it seems to be a recipe name used in a part.

No.

> What's the different between:
>
> [buildout]
> parts = foo
> versions = versions
>
> [versions]
> spam = 1
>
> [foo]
> recipe = spam
>
> ...and:
>
> [buildout]
> parts = foo
>
> [foo]
> recipe = spam == 1


There is no effective difference between these two examples.  Often a  
buildout refers to the same project more than once.  Using versions  
affects all uses. Using versions also applies to dependencies.

Jim

--
Jim Fulton
Zope Corporation




More information about the Distutils-SIG mailing list