<div dir="ltr">I agree, there are a ton of build dir and project management tools, without information about the use cases satisfied and why it&#39;s superior to alternatives, much less why you think it belongs in oe-core as opposed to all the other tools folks use, which would imply tactit approval as the official method, particularly going into scripts instead of contrib, I doubt this is going anywhere.<br></div><br><div class="gmail_quote"><div dir="ltr">On Mon, May 21, 2018 at 12:04 PM Alexander Kanavin &lt;<a href="mailto:alexander.kanavin@linux.intel.com">alexander.kanavin@linux.intel.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 05/21/2018 06:55 PM, Jens Rehsack wrote:<br>
&gt; Move scripts/bashrc from meta-jens/scripts to oe-core to share user-friendly<br>
&gt; oe builddir management with community. Using this script will help manage<br>
&gt; multiple BSPs and targets like perl developers using perlbrew.<br>
<br>
Please explain in detail what this does, and why is it superior to <br>
existing tools. What are the typical usage scenarios? Where and how this <br>
should be documented and tested? It is not a good idea to just add <br>
something into scripts/, as no one will know or use it, and so it will <br>
just quietly bitrot.<br>
<br>
&gt; +__oe_check_py () {<br>
&gt; +    # Make sure we&#39;re not using python v3.x. This check can&#39;t go into<br>
&gt; +    # sanity.bbclass because bitbake&#39;s source code doesn&#39;t even pass<br>
&gt; +    # parsing stage when used with python v3, so we catch it here so we<br>
&gt; +    # can offer a meaningful error message.<br>
&gt; +    py_v3_check=`/usr/bin/env python --version 2&gt;&amp;1 | grep &quot;Python 3&quot;`<br>
&gt; +    if [ &quot;$py_v3_check&quot; != &quot;&quot; ]; then<br>
&gt; +        echo &gt;&amp;2 &quot;Bitbake is not compatible with python v3&quot;<br>
&gt; +        echo &gt;&amp;2 &quot;Please set up python v2 as your default python interpreter&quot;<br>
&gt; +        return 1<br>
&gt; +    fi<br>
<br>
Bitbake has in fact been compatible with Python 3.x for several <br>
releases. The above check is not particularly useful, as /usr/bin/python <br>
nearly always points to a 2.x version.<br>
<br>
Alex<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Christopher Larson<br>kergoth at gmail dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Senior Software Engineer, Mentor Graphics</div></div></div></div>