Home | History | Annotate | Download | only in dist

Lines Matching refs:PYTHON

867 PYTHON
1074 PYTHON
1760 --with-python-sys-prefix
1761 use Python's sys.prefix and sys.exec_prefix values
1831 PYTHON the Python interpreter
14555 # Find any Python interpreter.
14556 if test -z "$PYTHON"; then
14557 for ac_prog 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
14567 case $PYTHON in
14569 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14594 PYTHON=$ac_cv_path_PYTHON
14595 if test -n "$PYTHON"; then
14596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14597 printf "%s\n" "$PYTHON" >&6; }
14604 test -n "$PYTHON" && break
14606 test -n "$PYTHON" || PYTHON=":"
14609 am_display_PYTHON=python
14612 if test "$PYTHON" = :; then
14613 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
14622 am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
14635 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14648 # Allow user to request using sys.* values from Python,
14651 # Check whether --with-python-sys-prefix was given.
14660 # Allow user to override whatever the default Python prefix is.
14674 # using python sys.prefix value, not GNU
14675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
14676 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
14681 am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
14695 else # using GNU prefix value, not python sys.prefix
14709 # emacs-page Now do it all over again for Python exec_prefix, but with yet
14735 # Set am__usable_exec_prefix whether using GNU or Python values,
14743 if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
14744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
14745 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
14750 am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
14763 else # using GNU $exec_prefix, not python sys.exec_prefix
14782 # with python 3.x. See automake bug#10227.
14810 am_cv_python_pythondir=`$PYTHON -c "
14827 *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
14853 am_cv_python_pyexecdir=`$PYTHON -c "
14870 *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"