@@ -18,11 +18,26 @@ PyPy:
18
18
19
19
- PyPy3.6 7.1.1
20
20
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
+
21
35
The various PyPy versions are installed inside ``/opt/pypy/ ``, and they are
22
36
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:
26
41
27
42
- ``/opt/pypy/pypy2.7-7.1.1/bin/pypy ``
28
43
@@ -31,3 +46,29 @@ system:
31
46
- ``/opt/python/pp271-pypy_41/bin/pypy ``
32
47
33
48
- ``/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