M7350/oe-core/meta/classes/python-dir.bbclass

6 lines
233 B
Plaintext
Raw Normal View History

2024-09-09 08:52:07 +00:00
PYTHON_BASEVERSION ?= "2.7"
2024-09-09 08:57:42 +00:00
PYTHON_ABI ?= ""
2024-09-09 08:52:07 +00:00
PYTHON_DIR = "python${PYTHON_BASEVERSION}"
2024-09-09 08:57:42 +00:00
PYTHON_PN = "python${@'' if '${PYTHON_BASEVERSION}'.startswith('2') else '3'}"
2024-09-09 08:52:07 +00:00
PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"