<div class="Ih2E3d">On Thu, Feb 21, 2008 at 11:13 AM, Martin Aspeli &lt;<a href="mailto:optilude@gmx.net" target="_blank">optilude@gmx.net</a>&gt; wrote:<br></div><div class="gmail_quote"><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

plone.salt doesn&#39;t exist yet, though - Wichert has a prototype under a<br>
different name, and I think others have played with this too (Whit,<br>
maybe?). I&#39;m wondering if it makes sense to have the &quot;salt&quot;<br>
functionality as a part of the z3c.autoinclude package, since they are<br>
reasonably similar and may benefit from sharing some code.<br>
</blockquote></div><div><br>I&#39;ve been meaning to reply to the message about Salt (love the name!) -- Whit Morriss and I have played with this; see <a href="https://svn.openplans.org/svn/ZCMLLoader/trunk" target="_blank">https://svn.openplans.org/svn/ZCMLLoader/trunk</a>
for our version.&nbsp; It might be a useful starting point.&nbsp; In
its current (not very polished) implementation it does scan for
standard ZCML files (configure, overrides, meta) in the package&#39;s
directory in much the same way as z3c.autoinclude, so it is more or
less what Martijn suggests: <br>
<br>[zcmlloader.plugin]<br>MyPlugin = my.plugin<br><br>though it&#39;s currently not generic at all (we wrote it for OpenPlans so there&#39;s some hard-coded artifacts in there).<br><br>As
an aside, I was thinking about extending it to allow multiple sets of
plugins, with core packages specifying the plugin entrypoint, as in
(glossing over the fact that this would be spelled out over four
separate setup.pys)<br>
<br>[zcmlloader.plugins]<br>openplans.plugin = opencore<br><br>[zcmlloader.plugins]<br>funplonesite.plugin = myfun.plonesite<br><br>[openplans.plugin]<br>BlogsInOpenPlans = opencore.wordpress<br><br>[funplonesite.plugin]<br>

CalendarWidget = calendarwidget<br><br>etc.&nbsp; I&#39;m not sure if this is a big YAGNI though.&nbsp; I think there&#39;s some overlap here with your suggestion about different starting points for different platforms, but I&#39;m not sure how much.<br>
<br></div></div>egj