On Wed, 2016-12-14 at 15:38 -0800, Khem Raj wrote:
> On Wed, Dec 14, 2016 at 1:38 PM, Phil Blundell wrote:
> > If we are building a native package then ${bindir}/python3 is not
> > guaranteed
> > to be available, and if it is available then it is probably a
> > directory not a
> > file. In either
On 14 December 2016 at 23:38, Khem Raj wrote:
> This also means we need to add a dependency on python-native may be it
> should inherit the python native class.
>
Indeed. For python-native, '#! /usr/bin/env python3' will always work as
that should find the Python that bitbake is running in.
Ro
On Wed, Dec 14, 2016 at 1:38 PM, Phil Blundell wrote:
> If we are building a native package then ${bindir}/python3 is not guaranteed
> to be available, and if it is available then it is probably a directory not a
> file. In either case, attempting to use it as an interpreter will not end
> well.
If we are building a native package then ${bindir}/python3 is not guaranteed
to be available, and if it is available then it is probably a directory not a
file. In either case, attempting to use it as an interpreter will not end
well. Let's use ${bindir}/nativepython instead.
Signed-off-by: Phil