summaryrefslogtreecommitdiff
path: root/numpy/core/setup.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2007-07-28 12:02:52 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2007-07-28 12:02:52 +0000
commitc34c29482907bd75e1b17899dbe1f97d48aef93c (patch)
tree444f3d60c53d2d968eece27fdab21879b3a2270d /numpy/core/setup.py
parentf7dfa5fe069799315f04973622238a2aee26cb63 (diff)
downloadnumpy-c34c29482907bd75e1b17899dbe1f97d48aef93c.tar.gz
Trying to use DL_IMPORT for logf, sqrtf.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r--numpy/core/setup.py11
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)