Pygame projector template ========================= Standalone Pygame "projector" that should run on Macs that have Python 2.7 preinstalled, i.e. OS X 10.7 (Lion), 10.8 (Mountain Lion) and 10.9 (Mavericks) - not sure about Yosemite. If you get an error message because of your computer's security settings when trying to run the app by double clicking the app icon, you have to start it with a right click (or CTRL+click), and then select "open" from the context menu. This only has to be done once, from now on you can start the app normaly. To create your own Projector, just make a copy of the app, open it in the Finder ("Show package contents") and put your own scripts and data (sub-folders work as well) into folder "/Contents/Resources". If you want a filename other than "main.py" for your main python script, just replace "main.py" with your preferred name in shell script "/Contents/MacOS/Projector". If your projector creates a Pygame window (like the Stars demo does), and you want a custom icon for this window in the Dock, replace "/Contents/Resources/icon.png" with your own PNG file, and add a line pygame.display.set_icon(pygame.image.load(os.environ['BASE_DIR']+'/icon.png')) to your python script (Notice: environment variable $BASE_DIR contains the full path to the "/Contents/Resources" folder. Credits: This "Pygame projector template" uses binaries provided by the Kivy project (http://kivy.org/).