Commit de6b3bed authored by Andreas Jung's avatar Andreas Jung

moved docutils to lib/python/third_party

parent 4820802b
...@@ -281,14 +281,14 @@ setup( ...@@ -281,14 +281,14 @@ setup(
sources=['DocumentTemplate/cDocumentTemplate.c'])] sources=['DocumentTemplate/cDocumentTemplate.c'])]
) )
# docutils # third_party.docutils.docutils
setup( setup(
name='docutils', name='third_party.docutils.docutils',
author='David Goodger and contributors', author='David Goodger and contributors',
packages=['docutils', 'docutils.languages', 'docutils.parsers', packages=['third_party.docutils.docutils', 'third_party.docutils.docutils.languages', 'third_party.docutils.docutils.parsers',
'docutils.parsers.rst', 'docutils.parsers.rst.directives', 'third_party.docutils.docutils.parsers.rst', 'third_party.docutils.docutils.parsers.rst.directives',
'docutils.parsers.rst.languages', 'docutils.readers', 'third_party.docutils.docutils.parsers.rst.languages', 'third_party.docutils.docutils.readers',
'docutils.transforms', 'docutils.writers'], 'third_party.docutils.docutils.transforms', 'third_party.docutils.docutils.writers'],
) )
# ExtensionClass # ExtensionClass
......
...@@ -3,6 +3,6 @@ ...@@ -3,6 +3,6 @@
@set INSTANCE_HOME=<<INSTANCE_HOME>> @set INSTANCE_HOME=<<INSTANCE_HOME>>
@set SOFTWARE_HOME=<<SOFTWARE_HOME>> @set SOFTWARE_HOME=<<SOFTWARE_HOME>>
@set CONFIG_FILE=<<INSTANCE_HOME>>\etc\zope.conf @set CONFIG_FILE=<<INSTANCE_HOME>>\etc\zope.conf
@set PYTHONPATH=%SOFTWARE_HOME% @set PYTHONPATH=%SOFTWARE_HOME%:%SOFTWARE_HOME%\third_party/docutils:%SOFTWARE_HOME%\third_party\docutils\extras
@set ZOPE_RUN=%SOFTWARE_HOME%\Zope\Startup\run.py @set ZOPE_RUN=%SOFTWARE_HOME%\Zope\Startup\run.py
"%PYTHON%" "%ZOPE_RUN%" -C "%CONFIG_FILE%" %1 %2 %3 %4 %5 %6 %7 "%PYTHON%" "%ZOPE_RUN%" -C "%CONFIG_FILE%" %1 %2 %3 %4 %5 %6 %7
...@@ -5,7 +5,7 @@ ZOPE_HOME="<<ZOPE_HOME>>" ...@@ -5,7 +5,7 @@ ZOPE_HOME="<<ZOPE_HOME>>"
INSTANCE_HOME="<<INSTANCE_HOME>>" INSTANCE_HOME="<<INSTANCE_HOME>>"
CONFIG_FILE="<<INSTANCE_HOME>>/etc/zope.conf" CONFIG_FILE="<<INSTANCE_HOME>>/etc/zope.conf"
SOFTWARE_HOME="<<SOFTWARE_HOME>>" 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 export PYTHONPATH INSTANCE_HOME SOFTWARE_HOME
ZOPE_RUN="$SOFTWARE_HOME/Zope/Startup/run.py" ZOPE_RUN="$SOFTWARE_HOME/Zope/Startup/run.py"
......
...@@ -5,7 +5,7 @@ ZOPE_HOME="<<ZOPE_HOME>>" ...@@ -5,7 +5,7 @@ ZOPE_HOME="<<ZOPE_HOME>>"
INSTANCE_HOME="<<INSTANCE_HOME>>" INSTANCE_HOME="<<INSTANCE_HOME>>"
CONFIG_FILE="<<INSTANCE_HOME>>/etc/zope.conf" CONFIG_FILE="<<INSTANCE_HOME>>/etc/zope.conf"
SOFTWARE_HOME="<<SOFTWARE_HOME>>" 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 export PYTHONPATH INSTANCE_HOME SOFTWARE_HOME
ZDCTL="$SOFTWARE_HOME/Zope/Startup/zopectl.py" ZDCTL="$SOFTWARE_HOME/Zope/Startup/zopectl.py"
......
...@@ -96,6 +96,8 @@ CONFIG_FILE= os.path.join(INSTANCE_HOME, 'etc', 'zope.conf') ...@@ -96,6 +96,8 @@ CONFIG_FILE= os.path.join(INSTANCE_HOME, 'etc', 'zope.conf')
PYTHONSERVICE_EXE=r'%s\bin\PythonService.exe' % ZOPE_HOME PYTHONSERVICE_EXE=r'%s\bin\PythonService.exe' % ZOPE_HOME
sys.path.insert(0, SOFTWARE_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 from nt_svcutils.service import Service
......
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