Re: [Zope-dev] Re: zcml entry points

2007-10-22 Thread Martijn Faassen
Hey, On 10/20/07, Dieter Maurer [EMAIL PROTECTED] wrote: [snip] Zope 2 had (for products) all three things together. It was felt that this was a too tight coupling. Therefore, for Zope 3 the paradigma explicit is better than implicit (a paradigma, that I personally dislike and find wrong)

Re: [Zope-dev] Re: zcml entry points

2007-10-20 Thread Dieter Maurer
Martijn Faassen wrote at 2007-10-20 03:15 +0200: ... I'd say it is a general concern of a framework to try to avoid how often you need to repeat yourself. Right now you to use a Zope 3 package you need to do the following things: * list the egg in your setup.py dependencies * load the ZCML

Re: [Zope-dev] Re: zcml entry points

2007-10-19 Thread Stephan Richter
On Friday 19 October 2007 21:17, Martijn Faassen wrote: Tres Seaver wrote: I may not *want* the other package's ZCML to be loaded:  some of its policies may not be appropriate for my application.   +1. Happens to me all the time. Since this appears to be a rare case that is the exception,

Re: [Zope-dev] Re: zcml entry points

2007-10-18 Thread Wichert Akkerman
Martin Aspeli wrote: Fred Drake wrote: On 10/17/07, Wichert Akkerman [EMAIL PROTECTED] wrote: A common issue we are seeing is that we have eggs depending on each other, but they still need to load the zcml from those dependencies somehow. As a temporary solution to play with the

Re: [Zope-dev] Re: zcml entry points

2007-10-18 Thread Jim Fulton
On Oct 17, 2007, at 8:04 PM, Ross Patterson wrote: ... I'm new to eggs, but maybe both sides could be satisfied with an approach like extra_requires? Extras are evil. See other posts of mine for explanations of why. You could list oi.plum [zope.zcml] when you require oi.plum *and* its ZCML

Re: [Zope-dev] Re: zcml entry points

2007-10-18 Thread Chris McDonough
On Oct 18, 2007, at 8:17 AM, Tres Seaver wrote: I may not *want* the other package's ZCML to be loaded: some of its policies may not be appropriate for my application. I think that the library vs. pluggable application distinction is valid here: maybe you want to define an entry point in

Re: [Zope-dev] Re: zcml entry points

2007-10-17 Thread Fred Drake
On 10/17/07, Martin Aspeli [EMAIL PROTECTED] wrote: The main win, IMHO, is to avoid the requirement for people to install slugs for third party products. Slugs suck - they are confusing to explain and people forget them all the time. Buildout makes it a bit easier, but it's still not a

Re: [Zope-dev] Re: zcml entry points

2007-10-17 Thread Fred Drake
On 10/17/07, Martin Aspeli [EMAIL PROTECTED] wrote: Right - but you're building an application, and you're pretty experienced with Zope. A lot of Plone users just want to install a plug-in (a product), basically. Before, they just dropped it into a It sounds like your concerns center around