Don't search platform path

Don't use Python.h from the platform specific path
This commit is contained in:
Timo Aaltonen
2013-09-03 00:03:12 +03:00
committed by Petr Viktorin
parent afce2f8162
commit 397986d19a

View File

@@ -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")