pyopengl - Python binding to OpenGL and related APIs ChangeLog

HOWTO


# PyOpenGL 2.0.1.09
# =================
# Prerequisites:
# python >= 2.2.0
# tcl/tk
# OpenGL and GLU (both come with XFree86 and X.org)
# GLUT (Slackware 8.1 through 10.2 (8.1 and 9.0 in 'pasture', 9.1 and up not)
#  include a glut package for version 3.7)
# Python Imaging Library (PIL)
# Numerical Python (optional; I haven't tried it)

# This actually looks for a DISPLAY environment variable, so you'll
# probably want to be running X as root when you install this.

cd
test -f installed/PyOpenGL-2.0.1.09.tar.gz &&
mv installed/PyOpenGL-2.0.1.09.tar.gz .
test ! -f PyOpenGL-2.0.1.09.tar.gz &&
wget http://download.sf.net/pyopengl/PyOpenGL-2.0.1.09.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "PyOpenGL-*" -exec rm -r {} \;
tar xzvf ~/PyOpenGL-2.0.1.09.tar.gz
cd PyOpenGL-2.0.1.09
test $UID = 0 && chown -R root:root .
LDFLAGS=-L/usr/X11R6/lib python setup.py build

# Become root to install it
su

python setup.py install
find /usr/lib/python*/site-packages/OpenGL -type f -name ".cvsignore" \
-exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/PyOpenGL-*.tar.*
mv PyOpenGL-2.0.1.09.tar.gz installed/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2006-01-24 1:36pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]