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!

here is a short instruction on how to build the latest version of pygame (1.8RC3) on Mac OS X: An alternative method based on macports and SVN is described here.

 

I recently installed PyGame 1.9.1 on Mac OS X 10.6 (Snow Leopard) running Python 3.1 - check out the instructions at the bottom of this page:  http://programming.itcarlow.ie/pygame.html - cheers, and good luck! (Paul Barry, Dec 2009).

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
Sep 1, 2010


Aug 29, 2010



Aug 28, 2010

Aug 26, 2010

Aug 25, 2010

Aug 24, 2010

Aug 21, 2010

Aug 19, 2010

Aug 18, 2010

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