summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoredschofield <edschofield@localhost>2006-04-19 10:08:10 +0000
committeredschofield <edschofield@localhost>2006-04-19 10:08:10 +0000
commitb66327781da7203a74b6daac8d6b3dbdeea6f590 (patch)
tree99d500d020804f5fcf471c8e4bf1cb4b95274a96
parent11273d2fd8193e4daffaee16cabdb073a9298048 (diff)
downloadnumpy-b66327781da7203a74b6daac8d6b3dbdeea6f590.tar.gz
Use add_data_files instead of add_headers to install randomkit.h
-rw-r--r--numpy/random/setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/random/setup.py b/numpy/random/setup.py
index 01bede1b3..b79a80d23 100644
--- a/numpy/random/setup.py
+++ b/numpy/random/setup.py
@@ -18,8 +18,6 @@ def configuration(parent_package='',top_path=None):
ext.libraries.extend(libs)
return None
- config.add_headers(join('mtrand', 'randomkit.h'))
-
libs = []
# Configure mtrand
config.add_extension('mtrand',
@@ -33,6 +31,8 @@ def configuration(parent_package='',top_path=None):
]
)
+ config.add_data_files(('.', join('mtrand', 'randomkit.h')))
+
return config
def testcode_wincrypt():