vendor/Five/1.2b-r20590

annotate __init__.py @ 0:3673ed425f80

Vendor import of Five 1.2b+ (r20590)
author fguillaume
date Fri, 02 Dec 2005 20:25:42 +0000
parents
children
rev   line source
fguillaume@0 1 ##############################################################################
fguillaume@0 2 #
fguillaume@0 3 # Copyright (c) 2004, 2005 Zope Corporation and Contributors.
fguillaume@0 4 # All Rights Reserved.
fguillaume@0 5 #
fguillaume@0 6 # This software is subject to the provisions of the Zope Public License,
fguillaume@0 7 # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
fguillaume@0 8 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
fguillaume@0 9 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
fguillaume@0 10 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
fguillaume@0 11 # FOR A PARTICULAR PURPOSE.
fguillaume@0 12 #
fguillaume@0 13 ##############################################################################
fguillaume@0 14 """Initialize the Five product
fguillaume@0 15
fguillaume@0 16 $Id: __init__.py 12884 2005-05-30 13:10:41Z philikon $
fguillaume@0 17 """
fguillaume@0 18 import Acquisition
fguillaume@0 19 from Globals import INSTANCE_HOME
fguillaume@0 20
fguillaume@0 21 import monkey
fguillaume@0 22 import zcml
fguillaume@0 23
fguillaume@0 24 # trigger monkey patches
fguillaume@0 25 monkey.monkeyPatch()
fguillaume@0 26
fguillaume@0 27 # public API provided by Five
fguillaume@0 28 # usage: from Products.Five import <something>
fguillaume@0 29 from browser import BrowserView
fguillaume@0 30 from skin.standardmacros import StandardMacros
fguillaume@0 31
fguillaume@0 32 def initialize(context):
fguillaume@0 33 zcml.load_site()