diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2008-05-16 08:56:03 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2008-05-16 08:56:03 +0000 |
commit | f83cffb4d354e1d0b9fed801f36be967bae8b1fe (patch) | |
tree | c9ab61a11fa137079e8b318c40805ff855a280de | |
parent | a6f214891d56b599a25d1ebe0127ecaea7f121af (diff) | |
download | numpy-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.
-rw-r--r-- | numpy/core/setup.py | 2 |
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': |