aboutsummaryrefslogtreecommitdiffstats
path: root/classes/python-dir.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/python-dir.bbclass')
-rw-r--r--classes/python-dir.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/python-dir.bbclass b/classes/python-dir.bbclass
new file mode 100644
index 0000000..a11dc35
--- /dev/null
+++ b/classes/python-dir.bbclass
@@ -0,0 +1,5 @@
+PYTHON_BASEVERSION = "2.7"
+PYTHON_ABI = ""
+PYTHON_DIR = "python${PYTHON_BASEVERSION}"
+PYTHON_PN = "python"
+PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"