[PyOpenGL-Users] PyOpenGL / togl with python3 - minor tweaks needed?
Brought to you by:
mcfletch
From: Jonathan W. <wr...@es...> - 2018-01-18 15:21:27
|
Hello, Trying to port some old togl code to python3.6 there was a glitch from PyOpenGL: http://bazaar.launchpad.net/~mcfletch/pyopengl/trunk/view/head:/OpenGL/Tk/__init__.py line 101: "sys.maxint" needs to be renamed to "sys.maxsize" For installing togl from src/togl.py there were a couple of issues: sys.maxint (line 7, also delete "L"?? ) urls in lines 20-21: "sys.platform" of "linux2" becomes "linux" for python3.6 With those changes it seems to be working for me (admittedly a very small test) on linux. Nevertheless, I guess this is a dead end for windows-64 bit anyway...? Best, Jon |