From: Robert Yang Date: Mon, 28 Sep 2015 08:18:42 +0000 (-0700) Subject: python-async: inherit setuptools X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Frbt%2Fpython-async;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git python-async: inherit setuptools Fixed when bitbake nativesdk-python-async: DEBUG: Executing shell function do_compile Traceback (most recent call last): File "setup.py", line 2, in from setuptools import setup ImportError: No module named setuptools Replace distutils with setuptools will fix the problem. Signed-off-by: Robert Yang --- diff --git a/meta/recipes-devtools/python/python-async_0.6.2.bb b/meta/recipes-devtools/python/python-async_0.6.2.bb index 8ed0b0393ff..5a17a1a004a 100644 --- a/meta/recipes-devtools/python/python-async_0.6.2.bb +++ b/meta/recipes-devtools/python/python-async_0.6.2.bb @@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8 S = "${WORKDIR}/async-${PV}" -inherit distutils +inherit setuptools RDEPENDS_${PN} += "python-threading python-lang"