[Zope-dev] zope.i18n dependencies

Wichert Akkerman wichert at wiggy.net
Fri Sep 26 10:41:00 EDT 2008


Previously Hanno Schlichting wrote:
> Wichert Akkerman wrote:
> > I was wondering why a non-zope project was pulling in zope.publisher and
> > ended up finding this chain:
> > 
> >   chameleon.core -> zope.i18n -> zope.component[zcml] -> zope.security ->
> >   zope.location -> zope.traversing -> zope.publisher
> > 
> > can we move the zcml components of zope.i18n into a [zcml] extra?
> 
> Too me that looks more like chameleon.core shouldn't depend on zope.i18n
> but only chameleon.zpt should.

I disagree.  I want translations in chameleon.genshi as well, and I do
not see why translations would require having Zope security and
publication machinery. That dependency is only there in zope.i18n so it
can register the registerTranslation zcml directive.

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.


More information about the Zope-Dev mailing list