Easy way to install this into Zope, as a Zope product. This will make

the src directory be on the python path.
pull/6/head
Martijn Faassen 2005-04-04 16:50:12 +00:00
rodzic 05db355efc
commit a2d0308c26
1 zmienionych plików z 13 dodań i 0 usunięć

13
__init__.py 100644
Wyświetl plik

@ -0,0 +1,13 @@
import os
import sys
# this allows the iCalendar package to be installed as a Zope product.
# It will add the src directory to the PYTHONPATH.
# Note that this strictly optional, just makes deployment with
# Zope more easy.
product_dir, filename = os.path.split(__file__)
src_path = os.path.join(product_dir, 'src')
sys.path.append(src_path)
def initialize(context):
pass