summaryrefslogtreecommitdiff
path: root/numpy/core/setupscons.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-07-07 09:07:29 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-07-07 09:07:29 +0000
commit1ff9787f0ee04cdc23bfd66fcf55cd1350516ac1 (patch)
tree75876dba5b8832503c430f2a4f81ac365f8bb85e /numpy/core/setupscons.py
parent392f28f11ff48e7da9fe05c3413dcf7ebc856d4b (diff)
downloadnumpy-1ff9787f0ee04cdc23bfd66fcf55cd1350516ac1.tar.gz
Fix setupscons.py for changed locations of generated header files.
Diffstat (limited to 'numpy/core/setupscons.py')
-rw-r--r--numpy/core/setupscons.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/numpy/core/setupscons.py b/numpy/core/setupscons.py
index be42246ad..7c01167b3 100644
--- a/numpy/core/setupscons.py
+++ b/numpy/core/setupscons.py
@@ -63,8 +63,10 @@ def configuration(parent_package='',top_path=None):
# XXX: I really have to think about how to communicate path info
# between scons and distutils, and set the options at one single
# location.
- h_file = join(get_scons_pkg_build_dir(config.name), '__multiarray_api.h')
- t_file = join(get_scons_pkg_build_dir(config.name), 'multiarray_api.txt')
+ h_file = join(get_scons_pkg_build_dir(config.name),
+ 'include/numpy/__multiarray_api.h')
+ t_file = join(get_scons_pkg_build_dir(config.name),
+ 'include/numpy/multiarray_api.txt')
config.add_data_files((header_dir, h_file),
(header_dir, t_file))
@@ -73,8 +75,10 @@ def configuration(parent_package='',top_path=None):
# XXX: I really have to think about how to communicate path info
# between scons and distutils, and set the options at one single
# location.
- h_file = join(get_scons_pkg_build_dir(config.name), '__ufunc_api.h')
- t_file = join(get_scons_pkg_build_dir(config.name), 'ufunc_api.txt')
+ h_file = join(get_scons_pkg_build_dir(config.name),
+ 'include/numpy/__ufunc_api.h')
+ t_file = join(get_scons_pkg_build_dir(config.name),
+ 'include/numpy/ufunc_api.txt')
config.add_data_files((header_dir, h_file),
(header_dir, t_file))