source: products/quintagroup.transmogrify.simpleblog2quills/trunk/quintagroup/transmogrify/simpleblog2quills/__init__.py @ 1490

Last change on this file since 1490 was 1490, checked in by koval, 9 years ago

renaming all references of quintagroup.transmogrifier.simpleblog2quills

File size: 863 bytes
Line 
1# register our extension profile if we have GenericSetup (Plone 2.5 or later)
2try:
3    # if we have GenericSetup product we don't need to register steps in python
4    import os
5    from Products.GenericSetup import EXTENSION
6    from Products.GenericSetup import profile_registry
7    from Products.CMFPlone.interfaces import IPloneSiteRoot
8
9    profile_path = os.path.join(os.path.split(__file__)[0], 'profiles/default')
10    profile_registry.registerProfile(
11        name="default",
12        title="quintagroup.transmogrify.simpleblog2quills (enables Large Plone Folder)",
13        description="Extension profile for applying settings needed to migrate blog.",
14        path=profile_path,
15        product="quintagroup.transmogrify.simpleblog2quills", # this is required
16        profile_type=EXTENSION,
17        for_=IPloneSiteRoot
18    )
19
20except ImportError:
21    pass
Note: See TracBrowser for help on using the repository browser.