[Zope] Re: Conditional import of annotations for Zope 2.9 and 2.10: how?

Raphael Ritz r.ritz at biologie.hu-berlin.de
Mon May 14 06:59:58 EDT 2007


Maurits van Rees wrote:
> Hi,
> 
[..]
> 
> What other options are there to do this in zcml?
> 
> Or should I take my loss and translate the
> zope/(app/)annotations/configure.zcml file (which only registers one
> adapter) into python code?
> 

More a workaround than a solution but have you tried
doing it the "new way" (Zope-2.10) and introducing
backwards compatibility via a module alias to make
zope.annotations also available as zope.app.annotations?

Raphael



More information about the Zope mailing list