On 8 July 2016 at 23:17, Burton, Ross <ross.bur...@intel.com> wrote: > > On 7 July 2016 at 16:39, Jussi Kukkonen <jussi.kukko...@intel.com> wrote: > >> +do_compile_append() { >> + ${PYTHON} setup.py -q bdist_egg --dist-dir ./ >> +} >> +do_install_append() { >> + install -m 0644 ${S}/*.egg ${D}/${PYTHON_SITEPACKAGES_DIR}/ >> +} >> > > Is this actually required? The setuptools class should be doing all the > magic, and this appears to be building and installing an egg, which we > generally try not to do. >
If eggs are not wanted (and that seems to make sense) then these functions should be removed ... but I don't understand the commit that introduced this (6b4cee975 in meta-oe): python-six: Error fix for recipes depend on python-six If you bitbake recipes which depends on python-six such as python-cryptography. And also your network is not very well. Error will occur as following: Download error on https://pypi.python.org/simple/six/: [Errno -5] No address associated with hostname -- Some packages may not be found! Couldn't find index page for 'six' (maybe misspelled?) No local packages or download links found for six So add do_compile_append() to fix it. Not sure where a URL like that comes from or why it would be accessed during build? Li Xin, any comment? I'll send a revised patch without the appends. - Jussi
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core