<div dir="ltr"><div>Thank you Khem!!<br><br></div>Regards,<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-20 15:02 GMT-03:00 Khem Raj <span dir="ltr"><<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Jun 20, 2016 at 10:44 AM, Daniel. <<a href="mailto:danielhilst@gmail.com">danielhilst@gmail.com</a>> wrote:<br>
> Hi everybody..<br>
><br>
> I've been playing with python extensions. Now I want to compile a simple<br>
> hello world extension<br>
> to my Yocto's target, but I really can't find any good resource about doing<br>
> it. So what is the teory behind it?<br>
><br>
> I know that I need python headers "Python.h and others" and that I need<br>
> distutils installed. After that everything is done by distutils and setup.py<br>
> script, but what is done is a mistery. I found distutilscross on internet<br>
> but no documentation about it!?<br>
><br>
> How are python extensions cross-compiled by Yocto? Can somebody point me an<br>
> example?!<br>
<br>
</span>take a look at meta-python.<br>
<br>
<a href="http://cgit.openembedded.org/meta-openembedded/tree/meta-python" rel="noreferrer" target="_blank">http://cgit.openembedded.org/meta-openembedded/tree/meta-python</a><br>
<br>
You might find some examples close to what you are looking for.<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> Regards,<br>
><br>
> --<br>
> "Do or do not. There is no try"<br>
>  Â Yoda Master<br>
><br>
</div></div><span class="HOEnZb"><font color="#888888">> --<br>
> _______________________________________________<br>
> yocto mailing list<br>
> <a href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br>
> <a href="https://lists.yoctoproject.org/listinfo/yocto" rel="noreferrer" target="_blank">https://lists.yoctoproject.org/listinfo/yocto</a><br>
><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div style="text-align:right"><i>"Do or do not. There is no try"</i><br><i>  </i><i><b>Yoda Master</b></i><br></div></div>
</div>