1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
|
P y G t k G L E x t
- Python Bindings for GtkGLExt
General Information
===================
PyGtkGLExt is Python language bindings for GtkGLExt, OpenGL Extension to GTK.
The official web site is:
http://gtkglext.sourceforge.net/
The official download & development information site is:
http://sourceforge.net/projects/gtkglext/
Licensing
=========
PyGtkGLExt modules are released under the terms of the GNU Lesser
General Public License (GNU LGPL). While components and programs
included with this release are licensed under the terms of the GNU
General Public License (GNU GPL).
Requirements
============
* Python 2.2 and above (http://www.python.org/)
* PyOpenGL (http://pyopengl.sourceforge.net/)
* PyGTK 2 (http://www.daa.com.au/~james/software/pygtk/)
* GTK 2 (http://www.gtk.org/)
* GtkGLExt (http://gtkglext.sourceforge.net/)
* OpenGL or Mesa (http://www.mesa3d.org/)
* MinGW (http://www.mingw.org/) or Microsoft Visual C++
Building PyGtkGLExt on Win32
============================
To build and install PyGtkGLExt, you can use Python Distutils based
setup.py script. (See http://www.python.org/doc/current/inst/ for more
details.)
* Build using Microsoft Visual C++
$ python setup.py build
$ python setup.py bdist_wininst
* Build using MinGW
$ python setup.py build --compiler=mingw32
$ python setup.py bdist_wininst
Personally I use the following instructions to build PyGTK and
PyGtkGLExt.
1) Build and install PyGTK.
I don't use the built distribution because it doesn't install
pygtk-2.0.pc pkg-config file. pygtk-2.0.pc is needed to build
PyGtkGLExt.
$ cd pygtk
$ python setup.py build --compiler=mingw32
$ python setup.py install --prefix='c:\pygtk'
$ export PYTHONPATH="c:\pygtk\Lib\site-packages;c:\pygtk\Lib\site-packages\gtk-2.0;${PYTHONPATH}"
$ export PKG_CONFIG_PATH="c:/pygtk/Lib/pkgconfig;${PKG_CONFIG_PATH}"
2) Build and install PyGtkGLExt.
$ cd pygtkglext-x.y.z
$ python setup.py build --compiler=mingw32
$ python setup.py install --prefix='c:\pygtk'
3) Create bdist for convenience
$ python setup.py bdist_wininst
Building the CVS Version of PyGtkGLExt
======================================
PyGtkGLExt's SourceForge CVS repository can be checked out through
anonymous (pserver) CVS with the following instruction set.
When prompted for a password for anonymous, simply press the Enter key.
$ cvs \
-d:pserver:anonymous@cvs.gtkglext.sourceforge.net:/cvsroot/gtkglext \
login
$ cvs -z3 \
-d:pserver:anonymous@cvs.gtkglext.sourceforge.net:/cvsroot/gtkglext \
co pygtkglext
Contact
=======
Any patches, bug fixes and improvements are always welcome ;-)
Naofumi Yasufuku ( ) <naofumi@users.sourceforge.net>
|