From c2c895ec5496ab5813d20a4d011ecdc73e46b256 Mon Sep 17 00:00:00 2001 From: George McCollister Date: Fri, 27 May 2016 15:56:35 -0500 Subject: python-simplejson: change to setuptools Change from distutils to setuptools. simplejson's setup.py is written to import setup, Extension, Command from setuptools and fallback to distutils if the import fails. Prior to this change files were being installed to a host polluted path /usr/lib/python2.7/site-packages/simplejson-3.8.2-py2.7-linux-x86_64.egg (even on ARM targets). python was unable to import simplejson. Switching to setuptools corrects the problem. Signed-off-by: George McCollister Signed-off-by: Martin Jansa --- meta-oe/recipes-devtools/python/python-simplejson_3.8.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-oe/recipes-devtools/python/python-simplejson_3.8.2.bb') diff --git a/meta-oe/recipes-devtools/python/python-simplejson_3.8.2.bb b/meta-oe/recipes-devtools/python/python-simplejson_3.8.2.bb index a2a6c400f7..0c9112e445 100644 --- a/meta-oe/recipes-devtools/python/python-simplejson_3.8.2.bb +++ b/meta-oe/recipes-devtools/python/python-simplejson_3.8.2.bb @@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "d58439c548433adcda98e695be53e526ba940a4b9c44fb9a05d92cd495 S = "${WORKDIR}/${SRCNAME}-${PV}" -inherit distutils +inherit setuptools RDEPENDS_${PN} = "\ python-core \ -- cgit v1.2.3-54-g00ecf