To get pypy installed:
curl -O https://bitbucket.org/pypy/pypy/downloads/pypy-2.0.1-osx64.tar.bz2
tar -xvf pypy-2.0.1-osx64.bz2
cd ./pypy-2.0.1/bin
curl -O http://python-distribute.org/distribute_setup.py
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
./pypy distribute_setup.py
./pypy get-pip.py
export PIP_REQUIRE_VIRTUALENV=false; ./pypy get-pip.py
./pip install hg+https://pyglet.googlecode.com/hg/
./pip install git+https://github.com/nodebox/nodebox-opengl
- replace sys.getrefcount in nodebox/graphics/context.py to work with pypy
try:
from sys import getrefcount
except ImportError: #pypy
import gc
getrefcount = lambda x: len(gc.get_referrers(x)) - 1