From 079b64fca61ef2906d474d44f1caa27be08d7e9d Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 31 Mar 2018 02:03:05 +0200 Subject: Return 2 on exit when Python.h is missing. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c47fbf8d..ad470209 100755 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ def check_include(library_name, header): if not check_include('python3', 'Python.h'): import sys - sys.exit(0) + sys.exit(2) module_poopt = Extension('poezio.poopt', extra_compile_args=['-Wno-declaration-after-statement'], -- cgit v1.2.3