This needs to be checked again and re-written. Shouldn't need to be done for the rest of Fall 2009, though.

Directions for Mac Installation

  1. Download the following installation script. Just clicking on that link will download the file to your Mac's desktop
  2. Using the Finder, open up the Utilities folder and launch the terminal application
  3. In the terminal shell, do the following command:
          source ~/Desktop/install-pyopengl.sh
        
  4. If all goes well, you'll have installed the PyOpenGL libraries and the PyOpenGL-Demos. Try the following:
          python
          >>> import OpenGL
        
  5. Exit from python (Control-D does it) and cd to ~/Documents. Try running some of the demos, just from the shell:
          python demos/redbook/cube.py
        
  6. When you're talking to a Python GLUT window, go to Python > Preferences, and in the dialog box, enable multi-button mouse emulation. That way you can use command-click to get the menu that is usually attached to the right button.

Reinstall

If you've already installed once, you can save a little time by installing and running reinstall-pyopengl.sh. Run it the same way as the install-pyopengl.sh script:

source ~/Desktop/reinstall-pyopengl.sh
  1. This work is licensed under a Creative Commons License
  2. Creative Commons License
  3. Viewable With Any
Browser
  4. Valid HTML 4.01!
  5. Valid CSS!