diff options
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) |