Lines Matching full:python

3         # Allow the use of a (user set) custom python version
5 AC_ARG_VAR([PYTHON_VERSION],[The installed Python
7 will be appended to the Python interpreter
10 AC_PATH_PROG([PYTHON],[python[$PYTHON_VERSION]])
11 if test -z "$PYTHON"; then
12 …AC_MSG_ERROR([Cannot find 'python$PYTHON_VERSION' in your system path. You can use the environment…
17 PYTHON_VERSION=`$PYTHON -c "import sys; \
34 # on Debian 10, for python 2.7 and 3.7. So, we check the version,
49 AC_MSG_CHECKING([for the $m Python module])
50 if ac_modulecheck_result1=`$PYTHON -c "import $m" 2>&1`; then
60 AC_MSG_CHECKING([for the $m2 Python module])
61 if ac_modulecheck_result2=`$PYTHON -c "import $m2" 2>&1`; then
66 AC_MSG_ERROR([cannot import Python module "$m", or "$m2".
67 Please check your Python installation. The errors are:
78 # Check for Python include path
80 AC_MSG_CHECKING([for Python include path])
83 python_path=`$PYTHON -c 'import sysconfig; \
86 python_path=`$PYTHON -c "import distutils.sysconfig; \
98 # Check for Python library path
100 AC_MSG_CHECKING([for Python library path])
102 PYTHON_LDFLAGS=`$PYTHON -c "from $sysconfig_module import *; \
109 PYTHON_LIBDIR=`$PYTHON -c "from $sysconfig_module import *; \
116 AC_MSG_CHECKING([for Python site-packages path])
119 PYTHON_SITE_PKG=`$PYTHON -c 'import sysconfig; \
122 PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
132 AC_MSG_CHECKING([consistency of all components of python development environment])
141 #include <Python.h>
150 Could not link test program to Python. Maybe the main Python library has been
153 Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
156 You probably have to install the development version of the Python package