[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-cvs
Subject: [Zope-Checkins]
From: Tres Seaver <tseaver () palladion ! com>
Date: 2007-04-30 21:44:22
Message-ID: 20070430214422.452112033B0 () mail ! zope ! org
[Download RAW message or body]
Log message for revision 74945:
Make Python willing to parse .pth files in /lib/python .
Changed:
U Zope/branches/tseaver-instlib_as_site_dir/lib/python/Zope2/Startup/handlers.py
-=-
Modified: Zope/branches/tseaver-instlib_as_site_dir/lib/python/Zope2/Startup/handlers.py
===================================================================
--- Zope/branches/tseaver-instlib_as_site_dir/lib/python/Zope2/Startup/handlers.py 2007-04-30 \
21:43:14 UTC (rev 74944)
+++ Zope/branches/tseaver-instlib_as_site_dir/lib/python/Zope2/Startup/handlers.py 2007-04-30 \
21:44:21 UTC (rev 74945) @@ -1,4 +1,5 @@
import os
+import site
import sys
import time
import logging
@@ -178,6 +179,7 @@
# Add directories to the pythonpath; always insert instancehome/lib/python
instancelib = os.path.join(config.instancehome, 'lib', 'python')
+ site.addsitedir(instancelib)
if instancelib not in config.path:
config.path.append(instancelib)
path = config.path[:]
_______________________________________________
Zope-Checkins maillist - Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic