Hi there,
As Christopher Lozinski pointed out, there seem to be usecases where people want to use single zope.app packages without zope.app.zcmlfiles and the whole bunch of zope.app packages it pulls in.
Would it make sense for these packages to also register ZMI related stuff only if some condition is met (say: zope.app.zcmlfiles is installed)?
Best regards,
Hi Uli,
Am 29.05.2012, 13:44 Uhr, schrieb Uli Fouquet uli@gnufix.de:
Hi there, As Christopher Lozinski pointed out, there seem to be usecases where people want to use single zope.app packages without zope.app.zcmlfiles and the whole bunch of zope.app packages it pulls in.
I think this is a non-usecase. zope.app is a namespace for the "app" part of Zope. If you want to use a part of this app then it's reasonable to assume that you want the rest: caveat developor!
Would it make sense for these packages to also register ZMI related stuff only if some condition is met (say: zope.app.zcmlfiles is installed)?
No, having apps trying to guess about their use as library code is a bad idea and should not be encouraged.
Charlie