[oe-commits] [meta-openembedded] 08/14: python-simplejson: change to setuptools

git at git.openembedded.org git at git.openembedded.org
Thu Jun 2 16:34:35 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit d6c6325e4e58ce451647a1ec57fd744c6fdbf931
Author: George McCollister <george.mccollister at gmail.com>
AuthorDate: Fri May 27 15:56:35 2016 -0500

    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 <george.mccollister at gmail.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-devtools/python/python-simplejson_3.8.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 a2a6c40..0c9112e 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 \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list