mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Don't search platform path
Don't use Python.h from the platform specific path
This commit is contained in:
committed by
Petr Viktorin
parent
afce2f8162
commit
397986d19a
@@ -22,7 +22,7 @@ from distutils.sysconfig import get_python_inc
|
||||
import sys
|
||||
import os
|
||||
|
||||
python_header = os.path.join(get_python_inc(plat_specific=1), 'Python.h')
|
||||
python_header = os.path.join(get_python_inc(plat_specific=0), 'Python.h')
|
||||
if not os.path.exists(python_header):
|
||||
sys.exit("Cannot find Python development packages that provide Python.h")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user