<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 1, 2016 at 1:57 PM, Richard Purdie <span dir="ltr">&lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 2016-06-01 at 08:35 -0700, Christopher Larson wrote:<br>
&gt;<br>
&gt; On Wed, Jun 1, 2016 at 5:35 AM, Richard Purdie &lt;<br>
&gt; <a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>&gt; wrote:<br>
&gt; &gt; Check that &#39;python&#39; is a python v2 since that is what we assume<br>
&gt; &gt; everywhere<br>
&gt; &gt; and upstream python devs recommend. We can need both python2 and<br>
&gt; &gt; python3<br>
&gt; &gt; available since we don&#39;t control the software we might download and<br>
&gt; &gt; run.<br>
&gt; &gt;<br>
&gt; &gt; Also check that python 3 is &gt;= 3.4.0, our minimum version for<br>
&gt; &gt; <span class="il">bitbake</span>.<br>
&gt; &gt;<br>
&gt; &gt; Signed-off-by: Richard Purdie &lt;<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>&gt;<br>
&gt; &gt;<br>
&gt; I&#39;m curious, why don&#39;t we just have a <span class="il">bit</span> of logic to figure out what<br>
&gt; the names are of the binaries, create a subdir and prepend it to the<br>
&gt; path, and add symlinks or wrapper scripts there to the real binaries<br>
&gt; on the system?<br>
<br>
</span>We could do this I guess, I&#39;m kind of hoping we don&#39;t have to as it<br>
just adds more complexity.<br>
<br>
Tempted to leave the patch as it stands for initial merging and then we<br>
can see how many people have issues...</blockquote></div><br>That&#39;s reasonable. I think the main distro that&#39;ll run into this is arch, and arch users should be used to having to hack around &#39;python&#39; not being python 2 for other projects by now :)<br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>