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 <module>
    from setuptools import setup
ImportError: No module named setuptools

Replace distutils with setuptools will fix the problem.

(From OE-Core rev: 3f34288743edef8f50ed16c30df0e1430239ca1b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang 2015-09-28 01:18:42 -07:00 committed by Richard Purdie
parent adb69873a1
commit d9ce0957af

View File

@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8
S = "${WORKDIR}/async-${PV}"
inherit distutils
inherit setuptools
RDEPENDS_${PN} += "python-threading python-lang"