[Zope3-checkins] SVN: Zope3/trunk/releases/ZopeX3/zopetest make it
possible to test the base software installation on Windows
Fred L. Drake, Jr.
fred at zope.com
Tue May 18 15:42:15 EDT 2004
Log message for revision 24811:
make it possible to test the base software installation on Windows
-=-
Modified: Zope3/trunk/releases/ZopeX3/zopetest
===================================================================
--- Zope3/trunk/releases/ZopeX3/zopetest 2004-05-18 19:12:11 UTC (rev 24810)
+++ Zope3/trunk/releases/ZopeX3/zopetest 2004-05-18 19:42:14 UTC (rev 24811)
@@ -20,8 +20,11 @@
here = os.path.dirname(os.path.realpath(__file__))
here = os.path.dirname(here)
-lib = os.path.join(here, "lib", "python")
-print lib
+
+if sys.platform in ("win32",):
+ lib = os.path.join(here, "Lib", "site-packages")
+else:
+ lib = os.path.join(here, "lib", "python")
sys.path.append(lib)
ftesting = os.path.join(here, "skel", "etc", "ftesting.zcml")
More information about the Zope3-Checkins
mailing list