diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2007-07-28 12:02:52 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2007-07-28 12:02:52 +0000 |
commit | c34c29482907bd75e1b17899dbe1f97d48aef93c (patch) | |
tree | 444f3d60c53d2d968eece27fdab21879b3a2270d /numpy/core/setup.py | |
parent | f7dfa5fe069799315f04973622238a2aee26cb63 (diff) | |
download | numpy-c34c29482907bd75e1b17899dbe1f97d48aef93c.tar.gz |
Trying to use DL_IMPORT for logf, sqrtf.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 3f35fe4af..de70b8703 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -126,6 +126,11 @@ def configuration(parent_package='',top_path=None): if not nosmp: # default is to use WITH_THREAD target_f.write('#ifdef WITH_THREAD\n#define NPY_ALLOW_THREADS 1\n#else\n#define NPY_ALLOW_THREADS 0\n#endif\n') target_f.close() + print 'File:',target + target_f = open(target) + print target_f.read() + target_f.close() + print 'EOF' else: mathlibs = [] target_f = open(target) @@ -137,12 +142,6 @@ def configuration(parent_package='',top_path=None): mathlibs.extend(value.split(',')) target_f.close() - print 'File:',target - target_f = open(target) - print target_f.read() - target_f.close() - print 'EOF' - ext.libraries.extend(mathlibs) incl_dir = os.path.dirname(target) |