Install PyMT on MacOSX
|Install PyMT on Ubuntu||Installation||Install PyMT on Windows|
This method has only been tested on Mac OSX 10.6 Snow Leopard 64-bit. For versions prior to 10.6 or 10.6 32-bit, you have to install the components yourself. We suggest using homebrew to do that.
For Mac OS X 10.6 and later, we provide a PyMT.app with all dependencies bundled. Download it from our google code project page. It comes as a .dmg file that contains:
- An Examples folder
- A script to install a `pymt` command for shell usage
After downloading the .dmg, double click to open it and drag the PyMT.app into your Applications folder. Make sure to read the Readme.txt file. You can now run any PyMT application by simply dragging the application's main file onto the PyMT.app icon. Just try that with launcher.py from the examples folder.
If you want to use PyMT from the command line, double-click the Make Symlinks script after you dragged the PyMT.app into the Applications folder.
To test if it worked, open Terminal.app and run
pymt. You will get a Python prompt. In there, enter
from pymt import *.
Running any PyMT application from the command line is now simply a matter of executing a command like the following:
Make sure that there are no other versions of pygame (or any of the other libraries if you run into problems) installed.