[Zope] Win32 dist. - using own Python instead
Chui Tey
Chui.Tey@env.qld.gov.au
Wed, 29 Sep 1999 10:44:41 +1000
Hi, can anyone clarify this for me please?
The z2.py refers to fiddling with pythonpath
but why is it necessary to add path lib/python1.5 when
the win distribution places python in lib/python?
<FROM z2.py>
# Have to fiddle the path for win32 binary dist.
# to ensure the bundled python libs are used.
swhome=r'C:\Program Files\WebGalah'
import sys
sys.path.insert(0, '%s/lib/python' % swhome)
sys.path.insert(1, '%s/lib/python1.5' % swhome)
sys.path.insert(2, '%s/lib/python1.5/plat-win' % swhome)
sys.path.insert(3, '%s/lib/python1.5/win32' % swhome)
sys.path.insert(4, '%s' % swhome)
</FROM z2.py>
If I wanted to run Zope with own python should I alter these lines in
addition to altering the start.bat file?