ExtremePhysics for Python is just a proof of concept. I may create a better version if people are
actually interested :).

The .so you downloaded is for 64-bit Linux. If you're using anything else, you have to compile it yourself.

To compile a .so/.dll/.dylib/whatever, grab all the .c/.cpp/.h files in the source folder and compile
those. Rename the result to "_extremephysics" + your extension and put it in the same directory as
"extremephysics.py". You will have to add the directory with python header files to your include path,
otherwise it won't work. On Linux this is /usr/include/python2.7 (after installing the development package
from the repositories). On other operating systems I assume you have to download the python source from
http://www.python.org/
to get the header files. I used Python 2.7, I've no idea if it works with other versions. Make sure that
you are compiling as 32-bit if you want to use 32-bit Python, or 64-bit if you want to use 64-bit Python.
Don't mix the two, that won't work.

If you manage to compile it for a different operating system, feel free to send it to me so I can put it
online :).

The source code is almost identical to ExtremePhysics 2.2 release 13 (GM version for Windows). The only
differences:
- All GM-specific code was removed.
- Debugdraw does nothing, I didn't try to figure out how to get callback functions to work in Python.
- I replaced 'long' with 'int' everywhere so it would still be the same when compiled as 64-bit. I've no
  idea why I originally used 'long' in the first place.
Many files still have names like 'gm_body.cpp' but that's just because I was too lazy to rename them :).

The wrapper code was generated with SWIG:
http://www.swig.org/
I used a PHP script to do this, but it's very messy and not cross-platform. The script is in the source
folder, but you won't need it anymore since all the wrapper code is already there.

The file test.py is a simple program based on the 'box stacking' test from the original testbed.gmk. You
need pygame to run it. On Linux you can install it from the repositories, for all other platforms yoy can
download it here:
http://www.pygame.org/
