[Zope] Python Path?
Etienne Labuschagne
ELabuschagne@gims.com
Thu, 28 Jun 2001 17:29:02 +0200
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C0FFE7.0F512BC0
Content-Type: text/plain;
charset="iso-8859-1"
Hi all
After installing more than one Zope on my machine I noticed the following:
The one installation's Python path also appears in the other installation's.
Is there an easy way to make sure that a Zope installation acts as if it was
installed on a clean machine without Python? I would like to have an
installation like that since I have been surprised previously by import
errors etc. when installing Zope on a client's machine and (wrongly)
thinking that I had all the modules at hand, only to find out the
installation only worked on my machine due to another Zope having a specific
module on the sys.path.
I know I can hard-code sys.path in the z2.py file, but it doesn't feel that
elegant to me. Any suggestions?
Thanks
Etienne
------_=_NextPart_001_01C0FFE7.0F512BC0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Python Path?</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2 FACE=3D"Arial">Hi all</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">After installing more than one Zope on =
my machine I noticed the following: The one installation's Python =
path also appears in the other installation's. Is there an easy =
way to make sure that a Zope installation acts as if it was installed =
on a clean machine without Python? I would like to have an =
installation like that since I have been surprised previously by import =
errors etc. when installing Zope on a client's machine and (wrongly) =
thinking that I had all the modules at hand, only to find out the =
installation only worked on my machine due to another Zope having a =
specific module on the sys.path.</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I know I can hard-code sys.path in the =
z2.py file, but it doesn't feel that elegant to me. Any =
suggestions?</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Etienne</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C0FFE7.0F512BC0--