Lines Matching refs:PYTHON
277 # * $(PYTHON)-config (If PYTHON is user supplied but PYTHON_CONFIG isn't)
284 # If PYTHON is defined but PYTHON_CONFIG isn't, then take $(PYTHON)-config as if it was the user
286 ifdef PYTHON
288 PYTHON_CONFIG_AUTO := $(call get-executable,$(PYTHON)-config)
290 $(call $(error $(PYTHON)-config not found)))
298 override PYTHON := $(call get-executable-or-default,PYTHON,$(subst -config,,$(PYTHON_CONFIG)))
833 ifndef PYTHON
836 PYTHON_WORD := $(call shell-wordify,$(PYTHON))
847 PYTHON_SETUPTOOLS_INSTALLED := $(shell $(PYTHON) -c 'import setuptools;' 2> /dev/null && echo "yes" || echo "no")
849 PYTHON_EXTENSION_SUFFIX := $(shell $(PYTHON) -c 'from importlib import machinery; print(machinery.EXTENSION_SUFFIXES[0])')
876 ifndef PYTHON
880 JEVENTS_PYTHON_GOOD := $(shell $(PYTHON) -c 'import sys;print("1" if(sys.version_info.major >= 3 and sys.version_info.minor >= 6) else "0")' 2> /dev/null)