]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
python-async: inherit setuptools rbt/python-async
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 28 Sep 2015 08:18:42 +0000 (01:18 -0700)
committerRobert Yang <liezhi.yang@windriver.com>
Tue, 29 Sep 2015 07:45:11 +0000 (00:45 -0700)
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.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-devtools/python/python-async_0.6.2.bb

index 8ed0b0393ff822878b5749385752ebb3f1c4bced..5a17a1a004a09c5687eff050baca2703ffa8123c 100644 (file)
@@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8
 
 S = "${WORKDIR}/async-${PV}"
 
-inherit distutils
+inherit setuptools
 
 RDEPENDS_${PN} += "python-threading python-lang"