diff options
Diffstat (limited to 'numpy/core/setupscons.py')
-rw-r--r-- | numpy/core/setupscons.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/numpy/core/setupscons.py b/numpy/core/setupscons.py index 5b79d2501..7118b1dab 100644 --- a/numpy/core/setupscons.py +++ b/numpy/core/setupscons.py @@ -2,8 +2,11 @@ import os import sys import glob from os.path import join, basename + from numpy.distutils import log +from numscons import get_scons_build_dir + def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import Configuration,dot_join from numpy.distutils.system_info import get_info, default_lib_dirs @@ -33,7 +36,7 @@ def configuration(parent_package='',top_path=None): # Add generated files to distutils... def add_config_header(): - scons_build_dir = config.get_scons_build_dir() + scons_build_dir = get_scons_build_dir() # XXX: I really have to think about how to communicate path info # between scons and distutils, and set the options at one single # location. @@ -43,7 +46,7 @@ def configuration(parent_package='',top_path=None): config.numpy_include_dirs.append(incl_dir) def add_numpyconfig_header(): - scons_build_dir = config.get_scons_build_dir() + scons_build_dir = get_scons_build_dir() # XXX: I really have to think about how to communicate path info # between scons and distutils, and set the options at one single # location. @@ -54,7 +57,7 @@ def configuration(parent_package='',top_path=None): config.add_data_files((header_dir, target)) def add_array_api(): - scons_build_dir = config.get_scons_build_dir() + scons_build_dir = get_scons_build_dir() # XXX: I really have to think about how to communicate path info # between scons and distutils, and set the options at one single # location. @@ -64,7 +67,7 @@ def configuration(parent_package='',top_path=None): (header_dir, t_file)) def add_ufunc_api(): - scons_build_dir = config.get_scons_build_dir() + scons_build_dir = get_scons_build_dir() # XXX: I really have to think about how to communicate path info # between scons and distutils, and set the options at one single # location. |