On 17/11/2010, at 9:54 AM, Alex Clark wrote:

> On 11/16/10 5:31 PM, Dylan Jay wrote:
>>
>>
>> One thing also that might not be obvious is that bin/funnelweb as a
>> script should work with any arbitrary transmogrifier pipeline, e.g.
>>
>>
>> [funnelweb]
>> recipe = funnelweb
>> eggs = myblueprintpackage
>> pipeline = pipeline.cfg
>>
>
> Yes! I'm counting on using this.

actually I've just realised this won't work either without your  
blueprints having this special entry autoinclude entry
point.

       entry_points="""
             [z3c.autoinclude.plugin]
             target = transmogrify
             """,
             )

I introduced that autoinclude entry point so that I didn't have to  
hard code the blueprint configure.zcml into funnelweb but as far as I  
know, no one else uses it. I might have to support some kind of zcml- 
slug kind of option like zope2instance :(


PS. You're right Alex. In a lot of ways zcml is overkill for  
registering transmogrifier blueprints. Something like entry-points  
would have been less trouble I think.



_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to