python[3]-setuptools: inherit setuptools

* distutils[3].bbclass was not including pkg_resources module
* Drop uneeded DISTUTILS_INSTALL_ARGS as setuptools[3].bbclass provides it

Fixes [YOCTO #12148]

(From OE-Core rev: 4e09525c73348c2b47b07654ac31ffc6cbd3d5fe)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Tim Orling
2018-01-04 14:56:44 -08:00
committed by Richard Purdie
parent 30cacd568c
commit 64390f742b
2 changed files with 2 additions and 9 deletions

View File

@@ -5,9 +5,7 @@ PROVIDES = "python-distribute"
DEPENDS += "python"
DEPENDS_class-native += "python-native"
inherit distutils
DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}"
inherit setuptools
RDEPENDS_${PN} = "\
python-stringold \