예제 #1
0
    def install(self, zport):
        """
        Set the collector plugin
        """
        ZenPackBase.install(self, zport)

	setuphandlers.install(zport, self)
예제 #2
0
def initialize(context):
    """ Zope Product """
    
    zport = packutils.zentinel(context)
    if zport and not packutils.hasZenPack(zport, __name__):
        zpack =  ZenPack(__name__)
        packutils.addZenPack(zport, zpack, SKINS_DIR, SKINNAME, GLOBALS)
        setuphandlers.install(zport, zpack)