File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,37 @@ Packaging Goals
7272Emscripten Platform Information
7373===============================
7474
75+ "Pyodide" vs "Emscripten Python"
76+ --------------------------------
77+
78+ For the sake of this document, we use the term "Emscripten Python" to refer to
79+ the Emscripten Python maintained in the ``python/cpython `` repository, without
80+ any downstream additions. We contrast the features present in Emscripten Python
81+ to the features present in Pyodide.
82+
83+ Pyodide is maintained `on github <https://github.com/pyodide/pyodide >`__ and
84+ distributed via `jsDelivr <https://www.jsdelivr.com/oss-cdn/pyodide >`__, `npm
85+ <https://www.npmjs.com/package/pyodide> `__, and `github releases
86+ <https://github.com/pyodide/pyodide/releases> `__.
87+
88+ Emscripten Python is not distributed, but it is possible to build and test by
89+ executing the following commands from the root of the CPython repository:
90+
91+ .. code-block :: sh
92+
93+ # Install Emscripten
94+ git clone emscripten/emsdk
95+ ./emsdk/emsdk install 4.0.5
96+ ./emsdk/emsdk activate 4.0.5
97+ source ./emsdk/emsdk_env.sh
98+
99+ # Build
100+ python3.12 ./Tools/wasm/emscripten/ build
101+
102+ # Run the test suite
103+ ./cross-build/wasm32-emscripten/build/python/python.sh -m test
104+
105+
75106 Background on Emscripten
76107------------------------
77108
You can’t perform that action at this time.
0 commit comments