--install-lib= is required to be passed via distutils install
otherwise the install location gets set to whatever the python-native
location is.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LIC_FILES_CHKSUM = "file://setup.py;beginline=23;endline=23;md5=8a314270dd7a8dbca741775415f1716e"
SRCNAME = "setuptools"
-PR = "ml4"
+PR = "ml5"
DEPENDS += "python"
DEPENDS_virtclass-native += "python-native"
inherit distutils
+DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages"
+
do_install_prepend() {
install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages
}