Lines Matching refs:PYTHON
710 PYTHON
889 PYTHON'
1545 --with-python-sys-prefix
1546 use Python's sys.prefix and sys.exec_prefix values
1577 PYTHON the Python interpreter
23140 if test -n "$PYTHON"; then
23141 # If the user set $PYTHON, use it and don't search something else.
23142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.6" >&5
23143 printf %s "checking whether $PYTHON version is >= 3.6... " >&6; }
23147 # map returns an iterator in Python 3.0 and a list in 2.x
23150 # xrange is not present in Python 3.0 and range returns an iterator
23153 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
23154 ($PYTHON -c "$prog") >&5 2>&5
23164 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
23166 am_display_PYTHON=$PYTHON
23170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python
23171 printf %s "checking for a Python interpreter with version >= 3.6... " >&6; }
23177 for am_cv_pathless_PYTHON in python python2 python3 python3.11 python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
23182 # map returns an iterator in Python 3.0 and a list in 2.x
23185 # xrange is not present in Python 3.0 and range returns an iterator
23200 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
23202 PYTHON=:
23212 case $PYTHON in
23214 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
23239 PYTHON=$ac_cv_path_PYTHON
23240 if test -n "$PYTHON"; then
23241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
23242 printf "%s\n" "$PYTHON" >&6; }
23254 if test "$PYTHON" = :; then
23264 am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
23277 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
23290 # Allow user to request using sys.* values from Python,
23293 # Check whether --with-python-sys-prefix was given.
23302 # Allow user to override whatever the default Python prefix is.
23316 # using python sys.prefix value, not GNU
23317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
23318 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
23323 am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
23337 else # using GNU prefix value, not python sys.prefix
23351 # emacs-page Now do it all over again for Python exec_prefix, but with yet
23377 # Set am__usable_exec_prefix whether using GNU or Python values,
23385 if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
23386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
23387 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
23392 am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
23405 else # using GNU $exec_prefix, not python sys.exec_prefix
23424 # with python 3.x. See automake bug#10227.
23452 am_cv_python_pythondir=`$PYTHON -c "
23476 *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
23502 am_cv_python_pyexecdir=`$PYTHON -c "
23526 *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
23544 if test "$PYTHON" != :; then