diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/SConscript | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/numpy/core/SConscript b/numpy/core/SConscript index 83c5c39ca..d950ec99b 100644 --- a/numpy/core/SConscript +++ b/numpy/core/SConscript @@ -45,10 +45,12 @@ numpyconfig_sym = [] if not config.CheckHeader("Python.h"): errmsg = [] for line in config.GetLastError(): - errmsg.append("\t>> %s " % line) - print """\ Error: Python.h header cannot be compiled (or cannot be found). + errmsg.append("%s " % line) + print """ +Error: Python.h header cannot be compiled (or cannot be found). On linux, check that you have python-dev/python-devel packages. On windows, -check that you have he platform SDK. You may also use unsupported cflags. Configuration error log says: \n%s""" % ''.join(errmsg) +check that you have he platform SDK. You may also use unsupported cflags. +Configuration error log says: \n\n%s""" % ''.join(errmsg) Exit(-1) def check_type(type, include = None): |