Porting Cantor Python2 backend to Python3
Review Request #120567 - Created Oct. 12, 2014 and discarded - Latest diff uploaded
I have ported Python2 backend to Python3.
There is some bug in the default cmake script for finding PythonLibs script so it cannot find PythonLibs3 now http://www.cmake.org/Bug/print_bug_page.php?bug_id=13794, therefore I decided to write my own script (FindPythonLibs3.cmake).
Headers moving were made to make it compilible. See more: http://stackoverflow.com/questions/20300201/why-python-h-of-python-3-2-must-be-included-as-first-together-with-qt4
Looks like it works :)
Have done some simple things like that:
import numpy as np
a = np.array([1, 2, 3])