[Zope-Checkins] SVN: Zope/branches/2.9/setup.py Fix out-of-tree
builds (how did this break AGAIN?).
Tres Seaver
tseaver at palladion.com
Tue Sep 5 13:37:24 EDT 2006
Log message for revision 69978:
Fix out-of-tree builds (how did this break AGAIN?).
Changed:
U Zope/branches/2.9/setup.py
-=-
Modified: Zope/branches/2.9/setup.py
===================================================================
--- Zope/branches/2.9/setup.py 2006-09-05 16:07:41 UTC (rev 69977)
+++ Zope/branches/2.9/setup.py 2006-09-05 17:37:23 UTC (rev 69978)
@@ -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