I generally use virtual environments to test development versions of
Python libraries. Within the virtual environment you can install the
library using pip install -e.
Create and activate virtualenv:
enojb@IT035770:~/current/tmp$ mkdir pypydemo
enojb@IT035770:~/current/tmp$ cd pypydemo/
When I was using a development repository and wanted to test with PyPy, I
wrote a little bash function that would set PYTHONPATH to include whatever
repository I was interested in, and then call PyPy. That way I didn't need
to change my environment, and could easily switch from tree to tree.