vendor/Five/1.2b-r20590

diff __init__.py @ 0:3673ed425f80

Vendor import of Five 1.2b+ (r20590)
author fguillaume
date Fri, 02 Dec 2005 20:25:42 +0000
parents
children
line diff
     1.1 new file mode 100644
     1.2 --- /dev/null
     1.3 +++ b/__init__.py
     1.4 @@ -0,0 +1,33 @@
     1.5 +##############################################################################
     1.6 +#
     1.7 +# Copyright (c) 2004, 2005 Zope Corporation and Contributors.
     1.8 +# All Rights Reserved.
     1.9 +#
    1.10 +# This software is subject to the provisions of the Zope Public License,
    1.11 +# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
    1.12 +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
    1.13 +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    1.14 +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
    1.15 +# FOR A PARTICULAR PURPOSE.
    1.16 +#
    1.17 +##############################################################################
    1.18 +"""Initialize the Five product
    1.19 +
    1.20 +$Id: __init__.py 12884 2005-05-30 13:10:41Z philikon $
    1.21 +"""
    1.22 +import Acquisition
    1.23 +from Globals import INSTANCE_HOME
    1.24 +
    1.25 +import monkey
    1.26 +import zcml
    1.27 +
    1.28 +# trigger monkey patches
    1.29 +monkey.monkeyPatch()
    1.30 +
    1.31 +# public API provided by Five
    1.32 +# usage: from Products.Five import <something>
    1.33 +from browser import BrowserView
    1.34 +from skin.standardmacros import StandardMacros
    1.35 +
    1.36 +def initialize(context):
    1.37 +    zcml.load_site()