summaryrefslogtreecommitdiff
path: root/meta/classes/python-dir.bbclass
blob: ebfa4b30f65a63be9bd290e00bbfce26f2ef21e0 (plain)
1
2
3
4
5
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"