[Zope-Checkins] SVN: Zope/branches/2.10/setup.py Forward-port out-of-tree build fix.

Tres Seaver tseaver at palladion.com
Tue Sep 5 14:10:10 EDT 2006


Log message for revision 69979:
  Forward-port out-of-tree build fix.

Changed:
  U   Zope/branches/2.10/setup.py

-=-
Modified: Zope/branches/2.10/setup.py
===================================================================
--- Zope/branches/2.10/setup.py	2006-09-05 17:37:23 UTC (rev 69978)
+++ Zope/branches/2.10/setup.py	2006-09-05 18:10:10 UTC (rev 69979)
@@ -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