[Zope3-checkins] SVN: Zope3/trunk/setup.py Added comment about
ZConfig
Dmitry Vasiliev
dima at hlabs.spb.ru
Sat Sep 3 04:26:56 EDT 2005
Log message for revision 38287:
Added comment about ZConfig
Changed:
U Zope3/trunk/setup.py
-=-
Modified: Zope3/trunk/setup.py
===================================================================
--- Zope3/trunk/setup.py 2005-09-03 03:27:29 UTC (rev 38286)
+++ Zope3/trunk/setup.py 2005-09-03 08:26:55 UTC (rev 38287)
@@ -19,11 +19,12 @@
here = os.path.dirname(os.path.abspath(__file__))
buildsupport = os.path.join(here, "buildsupport")
-# Process *.pth files from buildsupport/:
+# Add 'buildsupport' to sys.path and process *.pth files from 'buildsupport':
last = len(sys.path)
site.addsitedir(buildsupport)
if len(sys.path) > last:
- # Move all appended directories to the start
+ # Move all appended directories to the start.
+ # Make sure we use ZConfig shipped with the distribution
new = sys.path[last:]
del sys.path[last:]
sys.path[:0] = new
More information about the Zope3-Checkins
mailing list