appypod-rattail/gen/plone25/templates/Install.py

16 lines
651 B
Python
Raw Normal View History

2009-06-29 07:06:01 -05:00
<!codeHeader!>
import appy.gen
from appy.gen.plone25.installer import PloneInstaller
import Products.<!applicationName!>.config as config
2009-06-29 07:06:01 -05:00
# ------------------------------------------------------------------------------
def install(self, reinstall=False):
'''Installation procedure.'''
return PloneInstaller(reinstall, self, config).install()
2009-06-29 07:06:01 -05:00
# ------------------------------------------------------------------------------
def uninstall(self, reinstall=False):
'''Uninstallation procedure.'''
return PloneInstaller(reinstall, self, config).uninstall()
2009-06-29 07:06:01 -05:00
# ------------------------------------------------------------------------------