1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
#-----------------------------------------------------------------------------
# Name: __init__.py
# Purpose:
#
# Author: Philipp Auersperg
#
# Created: 2003/10/01
# RCS-ID: $Id: __init__.py,v 1.3 2004/05/04 21:29:10 dreamcatcher Exp $
# Copyright: (c) 2003 BlueDynamics
# Licence: GPL
#-----------------------------------------------------------------------------
# CMF based tool for installing/uninstalling CMF products
from Products.CMFCore import utils
import QuickInstallerTool
from QuickInstallerTool import AlreadyInstalled
import sys
this_module = sys.modules[ __name__ ]
tools = ( QuickInstallerTool.QuickInstallerTool,
)
z_tool_bases = utils.initializeBasesPhase1( tools, this_module )
quickinstaller_globals = globals()
def initialize( context ):
utils.initializeBasesPhase2( z_tool_bases, context )
utils.ToolInit( 'CMF QuickInstaller Tool',
tools = tools,
product_name = 'QuickInstallerTool',
icon='tool.gif'
).initialize( context )
context.registerClass(
QuickInstallerTool.QuickInstallerTool,
meta_type="CMFQuickInstallerTool",
constructors=(QuickInstallerTool.addQuickInstallerTool,),
icon = 'tool.gif') #Visibility was added recently, so may be a problem
|