Re: i2c-tools: add compatibility for python2/3 to py-smbus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 22 Jan 2015 14:28:10 +0100, Michael Mercier wrote:
> Thanks a lot!
> 
> It was a linking problem. I applied the patch and I it works for both 
> python2 and python3.
> 
> For those who are interested you can choose to the python version with 
> the PYTHON variable:
> make install # use "python" so it depends on your system configuration
> make install PYTHON=python2 # for python 2 explicitly
> make install PYTHON=python3 # for python 3 explicitly
> 
> 
> I have only tested read_i2c_block_data write_i2c_block_data for python 
> 3.2 and python 2.7.
> 
> I think you can push these patchs upstream.

Great, thanks for testing :)

-- 
Jean Delvare
SUSE L3 Support
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux