Re: Shader doesn't compile with Python 3

"Mike C. Fletcher" <[email protected]> Thu, 30 May 2013 13:11:24 -0400
Newsgroups gmane.comp.python.opengl.user
Message-ID <[email protected]>
On 13-05-29 12:23 PM, Matt Williams wrote:
> On 29 May 2013 06:53, Gabriele Lanaro <[email protected]> wrote:
>> I'm having the same problem in python 3 (not being able to compile the
>> shaders because it gets an invalid literal). Did you find any actual
>> workaround for that?
> The only solution I found was to update to the latest version in bzr.
> Have you tried that?
>
> I agree that it's not an ideal solution but it worked for me.
I've released a 3.1.0a1 on PyPi (hidden, so they are not automatically 
installed when users ask to install PyOpenGL).  You should be able to 
pull the equivalent of bzr head with:

     pip install "PyOpenGL==3.1.0a1" "PyOpenGL-accelerate==3.1.0a1"

with the caveat that those are source-code only releases at the moment, 
so your target platform will need a Python-module compilation 
environment available.  The tarballs include the still-in-process egl 
and es[1,2,3] packages, those are *not* ready for *any* use.

HTH,
Mike

-- 
________________________________________________
   Mike C. Fletcher
   Designer, VR Plumber, Coder
   http://www.vrplumber.com
   http://blog.vrplumber.com


------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net