[Zope-Checkins] SVN: Zope/trunk/setup.py Port fix for out-of-tree build from 2.9 branch.

Tres Seaver tseaver at palladion.com
Thu Sep 21 09:03:21 EDT 2006


Log message for revision 70287:
  Port fix for out-of-tree build from 2.9 branch.

Changed:
  U   Zope/trunk/setup.py

-=-
Modified: Zope/trunk/setup.py
===================================================================
--- Zope/trunk/setup.py	2006-09-21 12:04:23 UTC (rev 70286)
+++ Zope/trunk/setup.py	2006-09-21 13:03:20 UTC (rev 70287)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.3
+#!/usr/bin/env python2.4
 
 ##############################################################################
 #
@@ -49,7 +49,8 @@
 from distutils.command.install_data import install_data
 from distutils.util import convert_path
 
-sys.path.insert(0, 'inst')
+where = os.path.split(__file__)[0]
+sys.path.insert(0, os.path.join(where, 'inst'))
 import versions
 del sys.path[0]
 



More information about the Zope-Checkins mailing list