Lines Matching refs:PYTHON
832 PYTHON
958 PYTHON
1657 --with-python-sys-prefix
1658 use Python's sys.prefix and sys.exec_prefix values
1679 PYTHON the Python interpreter
3493 if test -n "$PYTHON"; then
3494 # If the user set $PYTHON, use it and don't search something else.
3495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.0" >&5
3496 printf %s "checking whether $PYTHON version is >= 3.0... " >&6; }
3500 # map returns an iterator in Python 3.0 and a list in 2.x
3503 # xrange is not present in Python 3.0 and range returns an iterator
3506 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
3507 ($PYTHON -c "$prog") >&5 2>&5
3517 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
3519 am_display_PYTHON=$PYTHON
3523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.0" >&5
3524 printf %s "checking for a Python interpreter with version >= 3.0... " >&6; }
3530 for am_cv_pathless_PYTHON in python python2 python3 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
3535 # map returns an iterator in Python 3.0 and a list in 2.x
3538 # xrange is not present in Python 3.0 and range returns an iterator
3553 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
3555 PYTHON=:
3565 case $PYTHON in
3567 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
3592 PYTHON=$ac_cv_path_PYTHON
3593 if test -n "$PYTHON"; then
3594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
3595 printf "%s\n" "$PYTHON" >&6; }
3607 if test "$PYTHON" = :; then
3608 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
3617 am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
3630 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
3643 # Allow user to request using sys.* values from Python,
3646 # Check whether --with-python-sys-prefix was given.
3655 # Allow user to override whatever the default Python prefix is.
3669 # using python sys.prefix value, not GNU
3670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
3671 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
3676 am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
3690 else # using GNU prefix value, not python sys.prefix
3704 # emacs-page Now do it all over again for Python exec_prefix, but with yet
3730 # Set am__usable_exec_prefix whether using GNU or Python values,
3738 if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
3739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
3740 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
3745 am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
3758 else # using GNU $exec_prefix, not python sys.exec_prefix
3777 # with python 3.x. See automake bug#10227.
3805 am_cv_python_pythondir=`$PYTHON -c "
3822 *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
3848 am_cv_python_pyexecdir=`$PYTHON -c "
3865 *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
21270 # Find the xcbgen Python package