[Grok-dev] Re: override grok version setting

Michael Haubenwallner michael at d2m.at
Sun Jul 20 06:23:54 EDT 2008


Philipp von Weitershausen schrieb:
> Michael Haubenwallner wrote:
>> i need zope.publisher >= 3.5.0 in one of my packages. grok fixes the 
>> version to at most 3.4.2
>>
>> any idea how to override the grok version setting in my package 
>> setup.py ?
> 
> You can specify the lower-bound version in your application's setup.py:
> 
>   install_requires=[...
>                     'zope.publisher >= 3.5.0',
>                     ...]
> 
> In your buildout configuration, however, you'll have to pin to a 
> particular version. If you're referring to a remote version.cfg or if 
> you'd rather not change the version.cfg that was downloaded according to 
> a particular Grok release, you can override the setting in buildout.cfg:
> 
>   [buildout]
>   ...
>   extends = .../version.cfg
>   versions = versions
> 
>   # add this:
>   [versions]
>   zope.publisher = 3.5.3

Ah, thanks - that did it.
I was using

[versions]
zope.publisher >= 3.5.0

in the buildout too.

Regards
Michael

-- 
http://blog.d2m.at
http://planetzope.org


More information about the Grok-dev mailing list