M7350/oe-core/meta/classes/python-dir.bbclass
2024-09-09 08:57:42 +00:00

6 lines
233 B
Plaintext

PYTHON_BASEVERSION ?= "2.7"
PYTHON_ABI ?= ""
PYTHON_DIR = "python${PYTHON_BASEVERSION}"
PYTHON_PN = "python${@'' if '${PYTHON_BASEVERSION}'.startswith('2') else '3'}"
PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"