pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Wiki

MacCompile

      
Search:  
 
 
sections
Snow leopard install instructions.
download
Build and install
Install the SDL Frameworks
Install pyobjc (non-Leopard only)
Install Numeric
Install Universal build libjpeg & libpng
Install libjpeg (from source)
Install libpng (from source)
Install pygame
Enjoy!

The following page details how to install PyGame 1.9.1 on a Mac OS X 10.6 (Snow Leopard) running the most recent 2.x version of Python (2.7.1).

Here are some alternative methods for installing PyGame on osx:

Snow leopard install instructions.

download

Build and install

Install the SDL Frameworks

Install pyobjc (non-Leopard only)

Install Numeric

Install Universal build libjpeg & libpng

pygame needs universal binaries to build right, but libpng and libjpeg sources don't build as universal binaries automatically... so you probably want to download the pre-built universal binaries for libpng & jpeg from ethan.tira-thompson.com. However you probably don't want to build against the dylib's for libpng and libjpeg if you are making an installer or will be using py2app, because then your distribution's imageext.so will not work without your clients also installing the libjpeg and libpng pacakges.
Since the package above installs both dylib and .a versions to /usr/local/lib and the build process will use the dylib versions by default, this means you probably want to delete/rename the dylib versions

Install the package

sudo rm /usr/local/lib/libpng.dylib sudo rm /usr/local/lib/libjpeg.dylib

Install libjpeg (from source)

Install libpng (from source)

Install pygame

Enjoy!

spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Feb 3, 2012



Feb 2, 2012

Feb 1, 2012

Jan 31, 2012




Jan 30, 2012

Jan 29, 2012


... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)