Skip to content
Snippets Groups Projects
Commit 0ef10b18 authored by Armin Rigo's avatar Armin Rigo
Browse files

Complete the NumPy 2-paragraph instructions and link more clearly to

numpy/pypy.
parent 7935f316
No related branches found
No related tags found
No related merge requests found
......@@ -213,6 +213,5 @@
<p>NumPy is an exception to the rule that most packages work without
changes. The &ldquo;numpy&rdquo; module needs to be installed from <a class="reference external" href="https://bitbucket.org/pypy/numpy">our own
repository</a> rather than from the official source.</p>
<p>If you have pip (the command-line assumes that it finds the pip
belonging to PyPy, not the one from CPython):</p>
<p>If you have pip:</p>
<pre class="literal-block">
......@@ -218,5 +217,5 @@
<pre class="literal-block">
pip install git+https://bitbucket.org/pypy/numpy.git
pypy -m pip install git+https://bitbucket.org/pypy/numpy.git
</pre>
<p>Alternatively, the direct way:</p>
<pre class="literal-block">
......@@ -224,4 +223,8 @@
cd numpy
pypy setup.py install
</pre>
<p>If you installed to a system directory, you need to also run this once:</p>
<pre class="literal-block">
sudo pypy -c 'import numpy'
</pre>
<p>Note that NumPy support is still a work-in-progress, many things do not
......@@ -227,5 +230,6 @@
<p>Note that NumPy support is still a work-in-progress, many things do not
work and those that do may not be any faster than NumPy on CPython.</p>
work and those that do may not be any faster than NumPy on CPython.
For further instructions see <a class="reference external" href="https://bitbucket.org/pypy/numpy">the pypy/numpy repository</a>.</p>
</div>
<div class="section" id="building-from-source">
<span id="translate"></span><h1>Building from source</h1>
......
......@@ -202,6 +202,5 @@
.. __: https://bitbucket.org/pypy/numpy
If you have pip (the command-line assumes that it finds the pip
belonging to PyPy, not the one from CPython)::
If you have pip::
......@@ -207,5 +206,5 @@
pip install git+https://bitbucket.org/pypy/numpy.git
pypy -m pip install git+https://bitbucket.org/pypy/numpy.git
Alternatively, the direct way::
......@@ -213,5 +212,9 @@
cd numpy
pypy setup.py install
If you installed to a system directory, you need to also run this once::
sudo pypy -c 'import numpy'
Note that NumPy support is still a work-in-progress, many things do not
work and those that do may not be any faster than NumPy on CPython.
......@@ -216,5 +219,9 @@
Note that NumPy support is still a work-in-progress, many things do not
work and those that do may not be any faster than NumPy on CPython.
For further instructions see `the pypy/numpy repository`__.
.. __: https://bitbucket.org/pypy/numpy
.. _translate:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment