summaryrefslogtreecommitdiff
path: root/numpy/core/setup.py
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-09-15 20:16:40 +0300
committermattip <matti.picus@gmail.com>2019-09-20 09:34:47 +0300
commit4729f3f3fe1363f3d21ca0ec8a22d30634e892e7 (patch)
tree55b95fa97756a0f7b7cb2cb6c2bc3f0bb2a0166e /numpy/core/setup.py
parent9852340606cf5f0e23cca8107e2bce61f022bc4e (diff)
downloadnumpy-4729f3f3fe1363f3d21ca0ec8a22d30634e892e7.tar.gz
BUILD: only report these headers with --debug-configure
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r--numpy/core/setup.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index 1f52efc17..8524b6617 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -497,10 +497,10 @@ def configuration(parent_package='',top_path=None):
#endif
"""))
- print('File:', target)
+ log.info('File:', target)
with open(target) as target_f:
- print(target_f.read())
- print('EOF')
+ log.info(target_f.read())
+ log.info('EOF')
else:
mathlibs = []
with open(target) as target_f:
@@ -587,10 +587,10 @@ def configuration(parent_package='',top_path=None):
"""))
# Dump the numpyconfig.h header to stdout
- print('File: %s' % target)
+ log.info('File: %s' % target)
with open(target) as target_f:
- print(target_f.read())
- print('EOF')
+ log.info(target_f.read())
+ log.info('EOF')
config.add_data_files((header_dir, target))
return target