6 May 2005 14:19
[Envisage-dev] __svn_version__ and Python 2.4.1
I ran into a little snag when trying to compile the enthought package
with Python 2.4.1 on OS X. The build halts early giving this (excerpted)
error:
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy_distutils/misc_util.py",
line 565, in generate_svn_version_py
local_path = extension.local_path
AttributeError: Extension instance has no attribute 'local_path'
This doesn't show up for Python 2.3.x. I haven't tracked down the
culprit here, but I have a feeling that the Extension object for
__svn_version__ (which has local_path set immediately after its
creation) is getting incompletely copied somewhere in the 2.4.1
distutils process.
Joy.
In the meantime, turning off __svn_version__ in setup_enthought.py
allows building.
--
--
Robert Kern
rkern@...
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
(Continue reading)
RSS Feed