summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2008-05-16 08:56:03 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2008-05-16 08:56:03 +0000
commitf83cffb4d354e1d0b9fed801f36be967bae8b1fe (patch)
treec9ab61a11fa137079e8b318c40805ff855a280de /numpy
parenta6f214891d56b599a25d1ebe0127ecaea7f121af (diff)
downloadnumpy-f83cffb4d354e1d0b9fed801f36be967bae8b1fe.tar.gz
get_build_architecture is not available in python 2.4 and older, so use numpy.distutils one. This should fix undiscovered/not reported bug of building numpy with python 2.4 on windows systems.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index 10c7ff979..7ae935405 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -115,7 +115,7 @@ def configuration(parent_package='',top_path=None):
moredefs.append('__NPY_PRIVATE_NO_SIGNAL')
if sys.platform=='win32' or os.name=='nt':
- from distutils.msvccompiler import get_build_architecture
+ from numpy.distutils.misc_util import get_build_architecture
a = get_build_architecture()
print 'BUILD_ARCHITECTURE: %r, os.name=%r, sys.platform=%r' % (a, os.name, sys.platform)
if a == 'AMD64':