Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Clarify pypy build requirement and link instructions in getting started #317

Closed
wants to merge 1 commit into from

2 participants

@llimllib

At the moment the getting started doc mentions that you need to check
out a recent pypy, but not that you have to build it. This patch adds
text to that effect as well as a link to the pypy project's build instructions.

@llimllib llimllib mention building pypy in the getting-started.rst
At the moment the getting started doc mentions that you need to check
out a recent pypy, but not that you have to build it. This patch adds
a link to the pypy project's build instructions.
e55b2e4
@alex
Owner

This isn't accurate, you don't need to build pypy before building topaz, is there some way we can make that more clear in the docs?

@alex alex closed this
@llimllib

Yup... because I tried to follow the instructions and concluded that I had to build pypy. What was I doing wrong?

$ path/to/pypy/rpython/bin/rpython -Ojit targettopaz.py

yielded "env: pypy: No such file or directory". Do I need both a binary pypy and a recent checkout of the pypy source?

@alex
Owner

Ah, let's change that text to read python path/to/pypy/rpython/bin/rpython -Ojit targettopaz.py, pypy is simply the default binary for that script, it works fine with CPython too.

@llimllib

OK, will do, thanks for the comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 6, 2013
  1. @llimllib

    mention building pypy in the getting-started.rst

    llimllib authored
    At the moment the getting started doc mentions that you need to check
    out a recent pypy, but not that you have to build it. This patch adds
    a link to the pypy project's build instructions.
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 1 deletion.
  1. +3 −1 docs/getting-started.rst
View
4 docs/getting-started.rst
@@ -34,7 +34,8 @@ Before you build Topaz, there's a few things you'll need:
``hg clone https://bitbucket.org/pypy/pypy``
* RPly: ``pip install -r requirements.txt``
-We recommend installing ``PyPy`` and ``RPly`` into a `virtualenv`_.
+Build pypy by following the `instructions for your platform`_ before
+building topaz. We recommend installing ``PyPy`` and ``RPly`` into a `virtualenv`_.
Once everything is setup (make sure ``rpython`` is on your ``PYTHONPATH``), you
can compile Topaz::
@@ -54,3 +55,4 @@ Note that this is extremely slow, and should never be used for benchmarking,
only for testing.
.. _virtualenv: http://www.virtualenv.org/
+.. _instructions for your platform: http://pypy.org/download.html#building-from-source
Something went wrong with that request. Please try again.