Using virtualenv with PyPy (original) (raw)

Thanks to the work that was recently done on the sys-prefix branch, it is now possible to use virtualenv with PyPy.

To try it, you need:

The directory layout has been redesigned in a way that it is possible to use virtualenv to install a PyPy both from a precompiled tarball or from an svn checkout:

from a tarball

$ virtualenv -p /opt/pypy-c-jit-76426-linux/bin/pypy my-pypy-env

from the svn checkout

$ virtualenv -p /path/to/pypy-trunk/pypy/translator/goal/pypy-c my-pypy-env

Once the environment has been created, you can enter it as usual. Note thatbin/python is now a symlink to bin/pypy.

Enjoy it :-)