summaryrefslogtreecommitdiffstats
path: root/meta/classes/python-dir.bbclass
blob: b4b5ab0eab93106cd006fcde3c7892510b47c36d (plain)
1
2
3
4
PYTHON_BASEVERSION ?= "2.7"
PYTHON_DIR = "python${PYTHON_BASEVERSION}"
PYTHON_PN = "python${@'' if '${PYTHON_BASEVERSION}'.startswith('2') else '3'}"
PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"