python-emscripten  File List

The union of all files from all check-ins in the top-level directory

Python compilation scripts and patches to run in the browser.

Build requirements: Emscripten, python3, gcc, make, quilt

Emscripten: download prebuilt binaries (or build from source)

git clone
pushd emsdk/
./emsdk install 2.0.7
./emsdk activate 2.0.7
source emsdk/

Python for the web browser!

cd 3.8/
./ ...
emcc ... -lpython3.8 -s EMULATE_FUNCTION_POINTER_CASTS=1

Web demo:

emrun --serve_after_close t/index.html

Real-world showcase: RenPyWeb.

Emscripten evolves regularly with (minor) breaking changes.
If you use a different version compilation may break.