summaryrefslogtreecommitdiff
path: root/poky/meta/classes-recipe/python3-dir.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/classes-recipe/python3-dir.bbclass')
-rw-r--r--poky/meta/classes-recipe/python3-dir.bbclass11
1 files changed, 11 insertions, 0 deletions
diff --git a/poky/meta/classes-recipe/python3-dir.bbclass b/poky/meta/classes-recipe/python3-dir.bbclass
new file mode 100644
index 0000000000..912c67253c
--- /dev/null
+++ b/poky/meta/classes-recipe/python3-dir.bbclass
@@ -0,0 +1,11 @@
+#
+# Copyright OpenEmbedded Contributors
+#
+# SPDX-License-Identifier: MIT
+#
+
+PYTHON_BASEVERSION = "3.10"
+PYTHON_ABI = ""
+PYTHON_DIR = "python${PYTHON_BASEVERSION}"
+PYTHON_PN = "python3"
+PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"