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? Wichert. -- Wichert Akkerman <wichert@wiggy.net> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple.
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. Hanno
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@wiggy.net> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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?
+10. 'zope.component' (without the extra) has to remain as a normal 'install_requires', of course. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI3PUK+gerLs4ltQ4RAmqdAJwI9xR/E5OjGiKQ4E8doShCQWsD4ACglU5N l8Zm775vXomCt/mCdvZI8CY= =d9tW -----END PGP SIGNATURE-----
participants (3)
-
Hanno Schlichting -
Tres Seaver -
Wichert Akkerman