|
|
|
@ -10383,29 +10383,6 @@ fi |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $python_includespec" >&5 |
|
|
|
|
$as_echo "$python_includespec" >&6; } |
|
|
|
|
|
|
|
|
|
python_ways=`${PYTHON} -c " |
|
|
|
|
import distutils.sysconfig as ds |
|
|
|
|
import os |
|
|
|
|
import sysconfig as s |
|
|
|
|
print('ds.get_python_inc(False): %s' % ds.get_python_inc(False)) |
|
|
|
|
print('s path include: %s' % s.get_path('include')) |
|
|
|
|
print('ds.get_python_inc(True): %s' % ds.get_python_inc(True)) |
|
|
|
|
print('s path platinclude: %s' % s.get_path('platinclude')) |
|
|
|
|
print('ds var INCLUDEPY: %s' % ds.get_config_var('INCLUDEPY')) |
|
|
|
|
print('s var INCLUDEPY: %s' % s.get_config_var('INCLUDEPY')) |
|
|
|
|
print('ds var CONFINCLUDEPY: %s' % ds.get_config_var('CONFINCLUDEPY')) |
|
|
|
|
print('s var CONFINCLUDEPY: %s' % s.get_config_var('CONFINCLUDEPY')) |
|
|
|
|
print('') |
|
|
|
|
print('ds get_python_inc(False)/Python.h exists: %s' % os.path.exists(os.path.join(ds.get_python_inc(False), 'Python.h'))) |
|
|
|
|
print('ds get_python_inc(True)/Python.h exists: %s' % os.path.exists(os.path.join(ds.get_python_inc(True), 'Python.h'))) |
|
|
|
|
print('s var INCLUDEPY/Python.h exists: %s' % os.path.exists(os.path.join(ds.get_config_var('INCLUDEPY'), 'Python.h'))) |
|
|
|
|
print('s var CONFINCLUDEPY/Python.h exists: %s' % os.path.exists(os.path.join(ds.get_config_var('CONFINCLUDEPY'), 'Python.h'))) |
|
|
|
|
"` 2>/dev/null |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: python include paths, different approaches: |
|
|
|
|
$python_ways" >&5 |
|
|
|
|
$as_echo "$as_me: python include paths, different approaches: |
|
|
|
|
$python_ways" >&6;} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link an embedded Python application" >&5 |
|
|
|
|