pymunk on osx

Our game, and many others here, require pymunk. In order to get pymunk working on OSX you'll need to obtain or build a libchipmunk binary.

Penguin has built the dylib for intel based mac's. You can find it on myke's site Here or Here. (You'll need to click "Save file to your PC" near the bottom of the box.)

If your mac isn't intel based, or if Penguin's build doesn't work for you, you can build your own copy with the following:

svn checkout pymunk-0.8
cd ./pymunk-0.8/chipmunk_src
gcc -O3 -std=gnu99 -ffast-math -c *.c
gcc -shared -o libchipmunk.dylib *.o

For our game you can drop the dylib into the pymunk folder among the .dll and the .so files. If you have pymunk installed on your system you can drop this dylib in the appropriate folder. (e.g. /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pymunk-0.8-py2.5.egg/pymunk/)

Your feedback on how well these methods work would be greatly appreciated. If you have any trouble please feel free to ask.