File: __init__.py

package info (click to toggle)
zope-cmfsin 0.6.1-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 156 kB
  • ctags: 164
  • sloc: python: 752; makefile: 30; sh: 2
file content (21 lines) | stat: -rw-r--r-- 624 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from AccessControl import ModuleSecurityInfo
from Globals import InitializeClass
from Products.CMFCore.DirectoryView import registerDirectory
import Products.CMFCore.utils

ADD_CONTENT_PREMISSIONS = 'Manage Portal'
sin_globals = globals()
registerDirectory('skins', sin_globals)

PKG_NAME = "CMFSin"

from Products.CMFSin.SinTool import SinTool
tools = (SinTool,)

def initialize(context):
    Products.CMFCore.utils.ToolInit(PKG_NAME + " Tool", tools=tools,
                   product_name=PKG_NAME,
                   icon="tool.gif",
                   ).initialize(context)

types_globals=globals()