Commit 288914f3 authored by Andreas Jung's avatar Andreas Jung

moved docutils path configuration to sitecustomize.py

parent 98c75d0a
import sys, os
dirname = os.path.dirname(__file__)
sys.path.append(os.path.join(dirname, 'third_party', 'docutils'))
sys.path.append(os.path.join(dirname, 'third_party', 'docutils', 'extras'))
......@@ -3,6 +3,6 @@
@set INSTANCE_HOME=<<INSTANCE_HOME>>
@set SOFTWARE_HOME=<<SOFTWARE_HOME>>
@set CONFIG_FILE=<<INSTANCE_HOME>>\etc\zope.conf
@set PYTHONPATH=%SOFTWARE_HOME%:%SOFTWARE_HOME%\third_party/docutils:%SOFTWARE_HOME%\third_party\docutils\extras
@set PYTHONPATH=%SOFTWARE_HOME%
@set ZOPE_RUN=%SOFTWARE_HOME%\Zope\Startup\run.py
"%PYTHON%" "%ZOPE_RUN%" -C "%CONFIG_FILE%" %1 %2 %3 %4 %5 %6 %7
......@@ -5,7 +5,7 @@ ZOPE_HOME="<<ZOPE_HOME>>"
INSTANCE_HOME="<<INSTANCE_HOME>>"
CONFIG_FILE="<<INSTANCE_HOME>>/etc/zope.conf"
SOFTWARE_HOME="<<SOFTWARE_HOME>>"
PYTHONPATH="$SOFTWARE_HOME:$SOFTWARE_HOME/third_party/docutils:$SOFTWARE_HOME/third_party/docutils/extras"
PYTHONPATH="$SOFTWARE_HOME"
export PYTHONPATH INSTANCE_HOME SOFTWARE_HOME
ZOPE_RUN="$SOFTWARE_HOME/Zope/Startup/run.py"
......
......@@ -5,7 +5,7 @@ ZOPE_HOME="<<ZOPE_HOME>>"
INSTANCE_HOME="<<INSTANCE_HOME>>"
CONFIG_FILE="<<INSTANCE_HOME>>/etc/zope.conf"
SOFTWARE_HOME="<<SOFTWARE_HOME>>"
PYTHONPATH="$SOFTWARE_HOME:$SOFTWARE_HOME/third_party/docutils:$SOFTWARE_HOME/third_party/docutils/extras"
PYTHONPATH="$SOFTWARE_HOME"
export PYTHONPATH INSTANCE_HOME SOFTWARE_HOME
ZDCTL="$SOFTWARE_HOME/Zope/Startup/zopectl.py"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment