From 943f80f2aa55b196d5881f4b639f3645a78ab648 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 18 Jan 2011 12:11:36 +0100 Subject: python-dir bbclass: import from OE This will be used later on when updating the distutils classes A small deviation from OE is the use of PYTHON_BASEVERSION instead of non-deterministic python code. See https://lists.yoctoproject.org/pipermail/poky/2011-January/002320.html for some background info Signed-off-by: Koen Kooi Signed-off-by: Saul Wold --- meta/classes/python-dir.bbclass | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 meta/classes/python-dir.bbclass diff --git a/meta/classes/python-dir.bbclass b/meta/classes/python-dir.bbclass new file mode 100644 index 000000000..a072a9387 --- /dev/null +++ b/meta/classes/python-dir.bbclass @@ -0,0 +1,2 @@ +PYTHON_DIR = "python${PYTHON_BASEVERSION}" +PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages" -- cgit v1.2.3