Return 2 on exit when Python.h is missing.
This commit is contained in:
parent
5c45252a2b
commit
079b64fca6
1 changed files with 1 additions and 1 deletions
2
setup.py
2
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'],
|
||||
|
|
Loading…
Reference in a new issue