summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-03-31 02:03:05 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-03-31 02:03:05 +0200
commit079b64fca61ef2906d474d44f1caa27be08d7e9d (patch)
tree811e239cba0cf9aae0617351b741da11c1fcde12
parent5c45252a2bdea99ff0d802edde84eb35339bcbd7 (diff)
downloadpoezio-079b64fca61ef2906d474d44f1caa27be08d7e9d.tar.gz
poezio-079b64fca61ef2906d474d44f1caa27be08d7e9d.tar.bz2
poezio-079b64fca61ef2906d474d44f1caa27be08d7e9d.tar.xz
poezio-079b64fca61ef2906d474d44f1caa27be08d7e9d.zip
Return 2 on exit when Python.h is missing.
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
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'],