Don't search platform path

Don't use Python.h from the platform specific path
This commit is contained in:
Timo Aaltonen authored and Petr Viktorin committed 2013-09-16 17:35:22 +02:00
1 parent afce2f8162
commit 397986d19a
1 file changed
+1 -1
+1 -1
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")