[Zope-Checkins] CVS: Zope/skel/bin - zopeservice.py.in:1.1.2.9

Christian Theune ct at gocept.com
Thu Dec 16 13:08:39 EST 2004


Update of /cvs-repository/Zope/skel/bin
In directory cvs.zope.org:/tmp/cvs-serv31191/skel/bin

Modified Files:
      Tag: Zope-2_7-branch
	zopeservice.py.in 
Log Message:
 Ok. This is how it finally _really_ worked for me on Win2k. See the discussion on zope-dev in a few minutes.


=== Zope/skel/bin/zopeservice.py.in 1.1.2.8 => 1.1.2.9 ===
--- Zope/skel/bin/zopeservice.py.in:1.1.2.8	Thu Dec 16 11:28:41 2004
+++ Zope/skel/bin/zopeservice.py.in	Thu Dec 16 13:08:39 2004
@@ -95,9 +95,7 @@
 CONFIG_FILE= os.path.join(INSTANCE_HOME, 'etc', 'zope.conf')
 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'))
+os.environ['PYTHONPATH'] = SOFTWARE_HOME
 
 from nt_svcutils.service import Service
 



More information about the Zope-Checkins mailing list