Skip to content
This repository was archived by the owner on Mar 15, 2022. It is now read-only.

Commit 088bfd7

Browse files
committed
improve the README
1 parent 20e4745 commit 088bfd7

File tree

1 file changed

+44
-3
lines changed

1 file changed

+44
-3
lines changed

README.rst

Lines changed: 44 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,26 @@ PyPy:
1818

1919
- PyPy3.6 7.1.1
2020

21+
Live example
22+
-------------
23+
24+
`pypy-manylinux-demo`_ is an example project which demonstrate how to build
25+
CPython and PyPy wheels using Travis CI and this image. It is a fork of the
26+
official `python-manylinux-demo`, and shows that building wheels for PyPy is
27+
as easy as changing the image name!
28+
29+
.. _`pypy-manylinux-demo`: https://github.com/pypy/pypy-manylinux-demo
30+
.. _`python-manylinux-demo`: https://github.com/pypa/python-manylinux-demo
31+
32+
How to run PyPy
33+
----------------
34+
2135
The various PyPy versions are installed inside ``/opt/pypy/``, and they are
2236
also symlinked to ``/opt/python``. Moreover, each installation of PyPy
23-
contains also a ``python`` symlink; all the following commands are equivalent
24-
and run the PyPy interpreter, you can use whatever fits best in your build
25-
system:
37+
contains also a ``python`` symlink.
38+
39+
All the following commands are equivalent and run the PyPy 2.7, version
40+
7.1.1. You can use whatever fits best in your build system:
2641

2742
- ``/opt/pypy/pypy2.7-7.1.1/bin/pypy``
2843

@@ -31,3 +46,29 @@ system:
3146
- ``/opt/python/pp271-pypy_41/bin/pypy``
3247

3348
- ``/opt/python/pp271-pypy_41/bin/python``
49+
50+
Similarly, these are the commands to run PyPy 3.6, version 7.1.1:
51+
52+
- ``/opt/pypy/pypy3.6-7.1.1/bin/pypy``
53+
54+
- ``/opt/pypy/pypy3.6-7.1.1/bin/python``
55+
56+
- ``/opt/python/pp371-pypy3_71/bin/pypy``
57+
58+
- ``/opt/python/pp371-pypy3_71/bin/python``
59+
60+
61+
PEP 425 Compatibility tags
62+
---------------------------
63+
64+
``pp271-pypy_41`` and ``pp371-pypy3_71`` are the `PEP 425`_ compliant
65+
compatibility tag. In particular:
66+
67+
- ``pp`` stands for PyPy (as opposed to ``cp`` which is CPython)
68+
69+
- ``271`` and ``371`` mean "Python [2|3]", "PyPy 7.1.x".
70+
71+
- ``pypy_41`` and ``pypy3_71`` are the binary ABI tags for the relevant
72+
version of PyPy. You can probably ignore them.
73+
74+
.. _`PEP 425`: https://www.python.org/dev/peps/pep-0425/

0 commit comments

Comments
 (0)