kopia lustrzana https://github.com/collective/icalendar
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
rodzic
05db355efc
commit
a2d0308c26
|
@ -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
|
Ładowanie…
Reference in New Issue