From: Gilbert R. R. <g.r...@gm...> - 2009-04-22 12:07:16
|
Hi physicist, I patched PyOde to compile with Cython and Python 3 (appended). I tested it somehow with examples/tutorial*.py but I think this won't be enough tests ;) I commented all the PyGame and PyOpenGL code out cause they aren't available for Python 3. There is a weird line in my patch in src/mass.pyx. Cause it is my first try with Cython and my first "project" with Python 3, I didn't investigated it much... maybe I do that when a second error like this occurs. It has something to do with string encoding and the difference of the types bytes and str. There was also a recursive import in xode/body.py and xode/geom.py I deleted. Thx for using .pyx files ;) Gilbert |