<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 28 July 2015 at 17:23, Kucharczyk, Bartlomiej (Nokia - PL/Wroclaw) <span dir="ltr">&lt;<a href="mailto:bartlomiej.kucharczyk@nokia.com" target="_blank">bartlomiej.kucharczyk@nokia.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1uo" class="a3s" style="overflow:hidden">Q1. What are the reasons behind that `/usr/bin/env python` refer to the host tool instead the native one?<br></div></blockquote></div><br>Because the use of the built python-native is opt-in for each recipe, and if you want to use it then the recipe should just inherit pythonnative.  This adjusts PATH so the standard #! works.</div><div class="gmail_extra"><br></div><div class="gmail_extra">You only need to use the python-native binary if you build-depend on non-standard Python modules which are in your DEPENDS (and so installed into the native sysroot).  Otherwise we assume that the host Python is sufficient: it&#39;s running bitbake already so it can&#39;t be that broken.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>