Re: [PyOpenGL-Users] (no subject)
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2007-02-12 22:43:39
|
Jason Ward wrote: > I have no idea how to install pyopengl V3. > > Why does python have to have wrappers built around these libraries? > Why can't we just access the dll directly? > That's what I do in Asm. I assume you mean assembler. Anyway, as of Python 2.5 you *can* directly access the DLL using ctypes. PyOpenGL is just a convenience wrapper around that functionality. That is, you can simply import ctypes, load the library and start calling functions in it. > Anyway, please explain how to install pyopengl. I have read the > documentation that > came with the library but I am confused. http://pyopengl.sourceforge.net/ctypes/using.html Has as clear a set of instructions as I currently have on hand. If you're getting stuck somewhere, please let us know *where* and I'll try to clarify the documentation. > Why can't you just be simple and use a windows installer like with V2. > That was easy. I don't even know if it would work with a .egg based distribution, I'll have to look into that. I liked the installers too when I used to use Windows (way back when). Guess I've gotten a bit out of touch with the Win32 world. > What happens if I want to distribute my App? > I won't use py2exe, it's not good. Really? I always preferred it when planning to create stand-alone projects. That said, it's not yet .egg friendly either. > I just want to > install python, pygame and pyopengl on the end-user's > computer so that he/she can run my program. If you want click-to-run functionality you'll need to script it yourself at the moment. Setuptools doesn't AFAIK have a GUI installation mechanism on Windows. Basically the setuptools/.egg stuff turned out to be less mature than I believed and we're still working through getting the tools built to support it. > Also, I don't understand your licence. Why don't you just use GPL? The BSD-style license we use is far less restrictive than the GPL. As such it allows a wider range of projects to use the library. In particular, it allows commercial projects to use the library without GPL-style "viral" restrictions. Take care, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |