(You need XCode Command Line tools if you haven't got it already.)
-
Download
pypy
2.0 beta 1 from http://pypy.org/download.html. -
Symlink
pypy
to/usr/local/bin
or someplace that your$PATH
points to. -
Install
pip
by following http://doc.pypy.org/en/latest/getting-started.html#installing-pypy.You may want to symlink this pip at /usr/local/bin/pypy-pip or something.
-
pypy-pip install cffi
. -
Checkout pysdl-cffi.
hg clone https://bitbucket.org/duangle/pysdl-cffi
.