Directions for Mac Installation
- If you haven't already installed PyOpenGL, do so by following these
directions
- Download the following installation
script. Just clicking on that link will download the file to your
Mac's desktop
- Using the Finder, open up the Utilities folder and launch
the terminal application
- In the terminal shell, do the following command:
source ~/Desktop/install-pytw.sh
- If all goes well, you'll have installed TW and its related modules. Try the following:
python
>>> import TW
- Exit from python (Control-D does it) and cd
to
~/Documents. Try running some of the demos, just from
the shell:
python demos/early/BarnTW.py
- 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 TW once, you can save a little time by
running ~/Desktop/reinstall-pytw.sh. (If for some reason you
don't have it, it is reinstall-pytw.sh. Run
it the same way as the install-pytw.sh script:
source ~/Desktop/reinstall-pytw.sh
-
This work is licensed under a Creative Commons
License
-