[Buildroot] [PATCH v5 2/2] i2c-tools: add support to build python extension

Angelo Compagnucci angelo.compagnucci at gmail.com
Thu Apr 9 20:26:56 UTC 2015


Dear Ryan Barnett,

2015-04-09 15:11 GMT+02:00 Ryan Barnett <ryanbarnett3 at gmail.com>:
> Angelo,
>
> On Thu, Apr 9, 2015 at 1:32 AM, Angelo Compagnucci
> <angelo.compagnucci at gmail.com> wrote:
>> Dear Ryan Barnett, Yann E. MORIN, Thomas Petazzoni,
>>
>>>> Applied. Did you check that i2c-tools python support was Python 2 only?
>>>> Or does it also support Python 3 ?
>>>
>>> Yes, it is Python-2 only (see the v1->v2 changelog in the commit notes).
>>
>> This is not true! Py-smbus supports python 3, se the commit here for
>> further reference:
>>
>> http://www.lm-sensors.org/changeset/6267
>
> When I tried to compile for Python 3 - I had many errors about not
> finding Python3 functions. I would image that was probably due to the
> fact that the include paths weren't correct. However, at that time I
> had lost interest.
>
> Please feel free to add support for Python 3 for py-smbus (i2c-tools).
> Will be sure to review and test it.

Mea culpa! The version with python3 support is not released, the
support is only in trunk!

Sincerely, Angelo.

>
> Thanks,
> -Ryan



-- 
Profile: http://it.linkedin.com/in/compagnucciangelo


More information about the buildroot mailing list