Return 2 on exit when Python.h is missing.

This commit is contained in:
Emmanuel Gil Peyrot 2018-03-31 02:03:05 +02:00
parent 5c45252a2b
commit 079b64fca6

View file

@ -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'],