[Zope-dev] z3c.form 2.0

Laurent Mignon laurent.mignon at softwareag.com
Tue Feb 10 12:13:17 EST 2009


Stephan Richter wrote:
> On Tuesday 10 February 2009, Laurent Mignon wrote:
>> With the replacement of zope.app.component import with zope.site, it's
>> no more possible to use z3c.form with Zope2 / Plone :-(
> 
> Thanks for getting our attention on this. I consider this a show-stopper for 
> 2.0. Dan, let's think about something creative that allows us to use the new 
> and old way, maybe through a special import statement like that:
> 
> try:
>   import zope.site
> except ImportError:
>   import zope.container
> 
> or something like that.
> 
> Regards,
> Stephan
Thanks also for your attention, the problem was in my buildout 
configuration as suggested by 'Dan Korostelev'

Adding the following lines to my buildout solves the problem:

additional-fake-eggs =
     zope.schema = 3.4.0
     zope.location = 3.4.0
     ZODB3 = 3.8.1

Regards,
Laurent



More information about the Zope-Dev mailing list