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 <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
Koen Kooi 2011-01-18 12:11:36 +01:00 committed by Richard Purdie
parent 7cb39ad37f
commit 943f80f2aa
1 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1,2 @@
PYTHON_DIR = "python${PYTHON_BASEVERSION}"
PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"