[pypy-svn] pypy default: Add section on using virtualenv.
lac
commits-noreply at bitbucket.org
Thu Feb 10 16:15:49 CET 2011
Author: Laura Creighton <lac at openend.se>
Branch:
Changeset: r41781:5c4aa3c1d45f
Date: 2011-02-10 16:14 +0100
http://bitbucket.org/pypy/pypy/changeset/5c4aa3c1d45f/
Log: Add section on using virtualenv.
diff --git a/pypy/doc/getting-started.txt b/pypy/doc/getting-started.txt
--- a/pypy/doc/getting-started.txt
+++ b/pypy/doc/getting-started.txt
@@ -68,6 +68,23 @@
If you want to commit to our repository on bitbucket, you will have to
install subversion in addition to mercurial.
+Installing using virtualenv
+---------------------------
+
+It is often convenient to run pypy inside a virtualenv. To do this
+you need a recent version of virtualenv -- 1.5 or greater. You can
+then install PyPy both from a precompiled tarball or from a mercurial
+checkout::
+
+ # from a tarball
+ $ virtualenv -p /opt/pypy-c-jit-41718-3fb486695f20-linux/bin/pypy my-pypy-env
+
+ # from the mercurial checkout
+ $ virtualenv -p /path/to/pypy/pypy/translator/goal/pypy-c my-pypy-env
+
+Note that bin/python is now a symlink to bin/pypy.
+
+
Where to go from here
----------------------
More information about the Pypy-commit
mailing list