mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
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:
committed by
Richard Purdie
parent
adb69873a1
commit
d9ce0957af
@@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8
|
|||||||
|
|
||||||
S = "${WORKDIR}/async-${PV}"
|
S = "${WORKDIR}/async-${PV}"
|
||||||
|
|
||||||
inherit distutils
|
inherit setuptools
|
||||||
|
|
||||||
RDEPENDS_${PN} += "python-threading python-lang"
|
RDEPENDS_${PN} += "python-threading python-lang"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user