products/CPSRSS

view __init__.py @ 293:57c4ee3aeecd

Prepare CHANGES file for release
author Georges Racinet on ishtar.racinet.fr <georges@racinet.fr>
date Sat, 21 Jan 2012 22:22:34 +0100
parents f5702e848eb5
children
line source
1 # -*- coding: iso-8859-15 -*-
2 # (C) Copyright 2002-2003 Nuxeo SARL <http://nuxeo.com>
3 # (C) Copyright 2002 Préfecture du Bas-Rhin, France
4 # Authors: Florent Guillaume <fg@nuxeo.com>
5 # Emmanuel Pietriga <epietriga@nuxeo.com>
6 #
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License version 2 as published
9 # by the Free Software Foundation.
10 #
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19 # 02111-1307, USA.
20 #
21 # $Id$
23 from Products.CMFCore.utils import ToolInit
24 from Products.CMFCore.DirectoryView import registerDirectory
26 from Products.GenericSetup import profile_registry
27 from Products.GenericSetup import EXTENSION
29 import RSSTool
31 from Products.CPSCore.interfaces import ICPSSite
33 registerDirectory('skins', globals())
35 tools = (RSSTool.RSSTool, )
37 def initialize(registrar):
38 ToolInit('RSS Tool',
39 tools = tools,
40 icon = 'tool.png',
41 ).initialize(registrar)
42 profile_registry.registerProfile(
43 'default',
44 'CPS RSS',
45 "RSS product for CPS.",
46 'profiles/default',
47 'CPSRSS',
48 EXTENSION,
49 for_=ICPSSite)