diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2006-03-30 17:36:27 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2006-03-30 17:36:27 +0000 |
commit | 8869df5b1cba1ffeda6d772eee1a7507fe18bdef (patch) | |
tree | da0f3aaf11f74131e0eaad888409f45fdd3f3d93 /numpy/core/setup.py | |
parent | 1845b35c086f01bec62097ef3ec03dad8646d6b6 (diff) | |
download | numpy-8869df5b1cba1ffeda6d772eee1a7507fe18bdef.tar.gz |
Reimplemented add_data_dir and add_data_files methods to fix ambiguities.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index c0f44bc34..78359fcb3 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -20,7 +20,7 @@ def configuration(parent_package='',top_path=None): open(generate_umath_py,'U'),generate_umath_py, ('.py','U',1)) - header_dir = join(*(config.name.split('.')+['include','numpy'])) + header_dir = 'include/numpy' # this is relative to config.path_in_package def generate_config_h(ext, build_dir): target = join(build_dir,'config.h') @@ -140,7 +140,7 @@ def configuration(parent_package='',top_path=None): f.close() return [] - config.add_data_files(join('include','numpy','*.h')) + config.add_data_files('include/numpy/*.h') config.add_include_dirs('src') config.numpy_include_dirs.extend(config.paths('include')) |