summaryrefslogtreecommitdiffstats
path: root/meta/classes/python-dir.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/python-dir.bbclass')
-rw-r--r--meta/classes/python-dir.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/python-dir.bbclass b/meta/classes/python-dir.bbclass
index ebfa4b30f6..a11dc350be 100644
--- a/meta/classes/python-dir.bbclass
+++ b/meta/classes/python-dir.bbclass
@@ -1,5 +1,5 @@
1PYTHON_BASEVERSION ?= "2.7" 1PYTHON_BASEVERSION = "2.7"
2PYTHON_ABI ?= "" 2PYTHON_ABI = ""
3PYTHON_DIR = "python${PYTHON_BASEVERSION}" 3PYTHON_DIR = "python${PYTHON_BASEVERSION}"
4PYTHON_PN = "python${@'' if '${PYTHON_BASEVERSION}'.startswith('2') else '3'}" 4PYTHON_PN = "python"
5PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages" 5PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"