[Zope-Checkins] SVN: Zope/trunk/ moved docutils path configuration
to sitecustomize.py
Andreas Jung
andreas at andreas-jung.com
Sat Oct 30 05:28:04 EDT 2004
Log message for revision 28296:
moved docutils path configuration to sitecustomize.py
Changed:
A Zope/trunk/lib/python/sitecustomize.py
U Zope/trunk/skel/bin/runzope.bat.in
U Zope/trunk/skel/bin/runzope.in
U Zope/trunk/skel/bin/zopectl.in
-=-
Added: Zope/trunk/lib/python/sitecustomize.py
===================================================================
--- Zope/trunk/lib/python/sitecustomize.py 2004-10-30 08:34:35 UTC (rev 28295)
+++ Zope/trunk/lib/python/sitecustomize.py 2004-10-30 09:28:04 UTC (rev 28296)
@@ -0,0 +1,4 @@
+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'))
Modified: Zope/trunk/skel/bin/runzope.bat.in
===================================================================
--- Zope/trunk/skel/bin/runzope.bat.in 2004-10-30 08:34:35 UTC (rev 28295)
+++ Zope/trunk/skel/bin/runzope.bat.in 2004-10-30 09:28:04 UTC (rev 28296)
@@ -3,6 +3,6 @@
@set INSTANCE_HOME=<<INSTANCE_HOME>>
@set SOFTWARE_HOME=<<SOFTWARE_HOME>>
@set CONFIG_FILE=<<INSTANCE_HOME>>\etc\zope.conf
- at set PYTHONPATH=%SOFTWARE_HOME%:%SOFTWARE_HOME%\third_party/docutils:%SOFTWARE_HOME%\third_party\docutils\extras
+ at 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
Modified: Zope/trunk/skel/bin/runzope.in
===================================================================
--- Zope/trunk/skel/bin/runzope.in 2004-10-30 08:34:35 UTC (rev 28295)
+++ Zope/trunk/skel/bin/runzope.in 2004-10-30 09:28:04 UTC (rev 28296)
@@ -5,7 +5,7 @@
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"
Modified: Zope/trunk/skel/bin/zopectl.in
===================================================================
--- Zope/trunk/skel/bin/zopectl.in 2004-10-30 08:34:35 UTC (rev 28295)
+++ Zope/trunk/skel/bin/zopectl.in 2004-10-30 09:28:04 UTC (rev 28296)
@@ -5,7 +5,7 @@
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"
More information about the Zope-Checkins
mailing list