On 04/13/2017 01:15 PM, Alexander Kanavin wrote:
On 04/13/2017 11:33 AM, Dmitry Rozhkov wrote:
If only python3 is installed on an image nothing provides
/usr/bin/python even though many scripts compatible with
both python2 and python3 just state `#!/usr/bin/env python`
in their shebang line.

Make python and python3 recipes provide alternatives for
/usr/bin/python and /usr/bin/python-config. By default
python2 has higher priority over python3.

This runs against upstream recommendation and common distro practice.
And it will break scripts that have not been ported to Python 3. Please
fix the scripts instead to refer to python 3 whenever possible.

Also, if there are scripts on the image that refer to 'python', yet python 2.7 is not installed into the image, that's a missing RDEPENDS in the scripts recipe.

Alex

--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to