Back to index

plone3  3.1.7
Install.py
Go to the documentation of this file.
00001 from cStringIO import StringIO
00002 from Products.Archetypes.public import listTypes
00003 from Products.Archetypes.Extensions.utils import installTypes
00004 from wicked.atcontent import zope2
00005 from wicked.at.Extensions.Install import install as installwickedat
00006 
00007 def install(portal):
00008     out = StringIO()
00009     installwickedat(portal)
00010     installTypes(portal, out, listTypes(zope2.PROJECTNAME), zope2.PROJECTNAME)
00011