[Zope-Checkins] SVN: Zope/trunk/s moved docutils to
lib/python/third_party
Andreas Jung
andreas at andreas-jung.com
Fri Oct 29 15:55:57 EDT 2004
Log message for revision 28284:
moved docutils to lib/python/third_party
Changed:
U Zope/trunk/setup.py
U Zope/trunk/skel/bin/runzope.bat.in
U Zope/trunk/skel/bin/runzope.in
U Zope/trunk/skel/bin/zopectl.in
U Zope/trunk/skel/bin/zopeservice.py.in
-=-
Modified: Zope/trunk/setup.py
===================================================================
--- Zope/trunk/setup.py 2004-10-29 19:54:51 UTC (rev 28283)
+++ Zope/trunk/setup.py 2004-10-29 19:55:57 UTC (rev 28284)
@@ -281,14 +281,14 @@
sources=['DocumentTemplate/cDocumentTemplate.c'])]
)
-# docutils
+# third_party.docutils.docutils
setup(
- name='docutils',
+ name='third_party.docutils.docutils',
author='David Goodger and contributors',
- packages=['docutils', 'docutils.languages', 'docutils.parsers',
- 'docutils.parsers.rst', 'docutils.parsers.rst.directives',
- 'docutils.parsers.rst.languages', 'docutils.readers',
- 'docutils.transforms', 'docutils.writers'],
+ packages=['third_party.docutils.docutils', 'third_party.docutils.docutils.languages', 'third_party.docutils.docutils.parsers',
+ 'third_party.docutils.docutils.parsers.rst', 'third_party.docutils.docutils.parsers.rst.directives',
+ 'third_party.docutils.docutils.parsers.rst.languages', 'third_party.docutils.docutils.readers',
+ 'third_party.docutils.docutils.transforms', 'third_party.docutils.docutils.writers'],
)
# ExtensionClass
Modified: Zope/trunk/skel/bin/runzope.bat.in
===================================================================
--- Zope/trunk/skel/bin/runzope.bat.in 2004-10-29 19:54:51 UTC (rev 28283)
+++ Zope/trunk/skel/bin/runzope.bat.in 2004-10-29 19:55:57 UTC (rev 28284)
@@ -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%
+ at set PYTHONPATH=%SOFTWARE_HOME%:%SOFTWARE_HOME%\third_party/docutils:%SOFTWARE_HOME%\third_party\docutils\extras
@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-29 19:54:51 UTC (rev 28283)
+++ Zope/trunk/skel/bin/runzope.in 2004-10-29 19:55:57 UTC (rev 28284)
@@ -5,7 +5,7 @@
INSTANCE_HOME="<<INSTANCE_HOME>>"
CONFIG_FILE="<<INSTANCE_HOME>>/etc/zope.conf"
SOFTWARE_HOME="<<SOFTWARE_HOME>>"
-PYTHONPATH="$SOFTWARE_HOME"
+PYTHONPATH="$SOFTWARE_HOME:$SOFTWARE_HOME/third_party/docutils:$SOFTWARE_HOME/third_party/docutils/extras"
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-29 19:54:51 UTC (rev 28283)
+++ Zope/trunk/skel/bin/zopectl.in 2004-10-29 19:55:57 UTC (rev 28284)
@@ -5,7 +5,7 @@
INSTANCE_HOME="<<INSTANCE_HOME>>"
CONFIG_FILE="<<INSTANCE_HOME>>/etc/zope.conf"
SOFTWARE_HOME="<<SOFTWARE_HOME>>"
-PYTHONPATH="$SOFTWARE_HOME"
+PYTHONPATH="$SOFTWARE_HOME:$SOFTWARE_HOME/third_party/docutils:$SOFTWARE_HOME/third_party/docutils/extras"
export PYTHONPATH INSTANCE_HOME SOFTWARE_HOME
ZDCTL="$SOFTWARE_HOME/Zope/Startup/zopectl.py"
Modified: Zope/trunk/skel/bin/zopeservice.py.in
===================================================================
--- Zope/trunk/skel/bin/zopeservice.py.in 2004-10-29 19:54:51 UTC (rev 28283)
+++ Zope/trunk/skel/bin/zopeservice.py.in 2004-10-29 19:55:57 UTC (rev 28284)
@@ -96,6 +96,8 @@
PYTHONSERVICE_EXE=r'%s\bin\PythonService.exe' % ZOPE_HOME
sys.path.insert(0, SOFTWARE_HOME)
+sys.path.insert(1, os.path.join(SOFTWARE_HOME, 'third_party', 'docutils'))
+sys.path.insert(2, os.path.join(SOFTWARE_HOME, 'third_party', 'docutils', 'extras'))
from nt_svcutils.service import Service
More information about the Zope-Checkins
mailing list