[Zope3-Users] Zope3.3.0 with buildout

Matthias Lehmann mat at matlehmann.de
Fri Feb 19 03:45:40 EST 2010


Am Freitag 19 Februar 2010 06:51:39 schrieb Christian Theune:
> Hi,
> 
> On 02/18/2010 10:41 PM, Matthias Lehmann wrote:
> > Hi All,
> > 
> > in the company, I am working for, we have a product based on Zope3.3.0.
> > The time has come, where we finally think about upgrading to use
> > buildout and eventually newer versions of Zope3.
> > 
> > Because we do not want to take multiple steps at once, we would like to -
> > as a first step - simple migrate the application to use buildout but
> > keep Zope3 version 3.3.0. If that goes well, we intend to switch to
> > newer Zope3 versions.
> > 
> > I fiddled some with buildout and the zc.zope3recipes, but without much
> > success, so far. So I am wondering - does buildout work with Zope3
> > versions below 3.4 at all?
> > 
> > I would be thankful to hear, if anybody was successful with this - maybe
> > I am just missing something. Or if it's something that can't be done (at
> > least in a sensible way), I know I don't need to spend more time trying.
> 
> You can. Please see the documentation of these recipes:
> 
> http://pypi.python.org/pypi/zc.zope3recipes/0.11.0#building-zope-3-applicat
> ions-from-zope-3-checkouts-tarballs
> http://pypi.python.org/pypi/zc.recipe.zope3checkout/1.2
> 
Thanks for your answer.
I tried zc.zope3recipies:app and it does create the app and the instance etc., 
but I don't know how to handle the ZCML configuration. In a traditional Zop3.3 
tarball, I had to use bin/mkzopeinstance which gave me an etc directory with a 
functional site.zcml. The site.zcml created by zc.zope3recipies does not 
include all that boilerplate.

So do I have to go through all the ZCML stuff from the etc-dir of my old 
zope3.3 tarball-install and add relevant ZCML to the new buildout site.zcml, 
or is there some automatic way? I know, that in zope3.4, there is the 
zope.app.zcmlfiles packages, which containes most of this boilerplate - but 
what about zope3.3?

Thanks for your advice.

Best regards,

Mat


More information about the Zope3-users mailing list