Yes. Everything works fine after I inherit pythonnative. I mistakenly
thought that there was no need to inhert it manually.
Martin Jansa 于2023年5月15日周一 17:46写道:
>
> > I don't know why my EXTRANATIVEPATH doesn't contain python-native
>
> Because you didn't inherit pythonnative?
>
> On Mon, May 15,
> I don't know why my EXTRANATIVEPATH doesn't contain python-native
Because you didn't inherit pythonnative?
On Mon, May 15, 2023 at 11:38 AM Jiliang Cai wrote:
> I added:
> DEPENDS += "python-native python-setuptools-native".
>
> I think it should work just fine, because:
> python-setuptools.b
I added:
DEPENDS += "python-native python-setuptools-native".
I think it should work just fine, because:
python-setuptools.bbinherit setuptools -->
setuptools.bbclass inherit distutils -->
distutils.bbclass inherit distutils-base -->
distutils-base.bbclass inherit pytho
Did you add "inherit pythonnative" or DEPENDS += "python-native"?
You need just the inherit line.
On Mon, May 15, 2023 at 10:23 AM Jiliang Cai wrote:
> I have a bb file abc_1.0.bb:
> DEPENDS += "python3-native"
> And EXTRANATIVEPATH contains "python3-native" as expected, so command
> 'python3'
I have a bb file abc_1.0.bb:
DEPENDS += "python3-native"
And EXTRANATIVEPATH contains "python3-native" as expected, so command 'python3'
can be searched.
Then I add DEPENDS += "python-native", but EXTRANATIVEPATH doesn't contains
"python-native", so command 'python' can not be searched.
python3na