fpga-logi / logi-tools

Software tools (video stream and other), should not be platform (spi, logibone, etc) specific
20 stars 22 forks source link

Add Python 3 support for Python logipi #4

Closed mrahtz closed 7 years ago

mrahtz commented 7 years ago

The Python tools currently don't work for Python 3, throwing an error when trying to use:

ImportError: /usr/local/lib/python3.4/dist-packages/logi.cpython-34m.so: undefined symbol: PyInt_AsSsize_t

This patch adds support for Python 3 (while maintaining compatibility with Python 3).