summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-08-10 22:21:49 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-08-10 22:21:49 +0000
commit73498929287e76f82fa398b29b55e14e5ea015b0 (patch)
tree1979140abe8001bc0f819bebd1c7e03f8c1f8223 /numpy
parent363d209305e7382c4ae36f71110b00c6fd66d8bc (diff)
downloadnumpy-73498929287e76f82fa398b29b55e14e5ea015b0.tar.gz
Tweak error msg when python.h not compilable with scons.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/SConscript8
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):