diff options
author | David Cournapeau <cournape@gmail.com> | 2007-12-22 06:28:11 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2007-12-22 06:28:11 +0000 |
commit | 5df69a90f90f2298f5631bb5000eedd8e0b03f07 (patch) | |
tree | 7c5b897c5ff3eca64f4b9b7fa3b251f6f6f3e6ca /numpy/core/setup.py | |
parent | 622b1425544db5a4de2f2b678adcbdd0105ba8a9 (diff) | |
download | numpy-5df69a90f90f2298f5631bb5000eedd8e0b03f07.tar.gz |
Remove distutils test for C declaration from numpy.core, since it is put in distutils now
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 1ec9be8e7..6b6a34fb9 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -39,19 +39,6 @@ def configuration(parent_package='',top_path=None): header_dir = 'include/numpy' # this is relative to config.path_in_package - def generate_declaration_test(symbol, includes): - main_src = """ -int main() -{ -#ifndef %s - (void) %s; -#endif - ; - return 0; -}""" % (symbol, symbol) - - return "\n".join([includes, main_src]) - def generate_config_h(ext, build_dir): target = join(build_dir,'config.h') if newer(__file__,target): @@ -71,12 +58,6 @@ int main() raise SystemError,"Failed to test configuration. "\ "See previous error messages for more information." - def test_declaration(symbol, includes = ""): - code = generate_declaration_test(symbol, includes) - result = config_cmd.try_run(code, include_dirs = [python_include], - library_dirs = default_lib_dirs) - return result - # Python 2.3 causes a segfault when # trying to re-acquire the thread-state # which is done in error-handling |