[OE-core] [PATCH 28/45] swig: move to Python 3

Philip Balister philip at balister.org
Wed May 25 14:24:19 UTC 2016


On 05/25/2016 08:45 AM, alexander.kanavin at linux.intel.com wrote:
>> I'm trying to get my head around how this change will impact python2
>> based programs that use swig, such as gnuradio.
>>
>> Does this mean all programs that use swig will need to move to python3
>> now?
> 
> Probably. At least nothing in meta-oe or oe-core was impacted by this, as
> far as I see, but if GNU radio isn't building properly anymore, then
> copy-paste the error, and we'll work out a solution.

I did a quick read of the swig manual and it seems that swig built for
python3 will generate code that runs with both.

It would be nice to use PACKAGECONFIG to select 2 versus 3 so we can
build sdks that only have python2.

Philip

> 
> Alex
> 
> 



More information about the Openembedded-core mailing list