On Friday 16 February 2007 08:15, Andreas Jung wrote:
>   I am trying to use zope.component (Zope3 3.0) within a Python module
> (not running the whole Zope 3 boilerplate). I want to register a utility.
> What is the correct way to setup the registries (in particular the Utility
> registry) in order to register utilities?

No need to setup any registries. Just use the zope.component API, for example:

provideUtility()
provideAdapter()

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to