[Zope-dev] Add zmi_views 'fix' also for zope.app packages?
Charlie Clark
charlie.clark at clark-consulting.eu
Tue May 29 11:52:54 UTC 2012
Hi Uli,
Am 29.05.2012, 13:44 Uhr, schrieb Uli Fouquet <uli at 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
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
More information about the Zope-Dev
mailing list