Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
Go to file
Michael Droettboom 7e5b45a08e Fix #4: Use WASM 2018-02-24 12:47:13 -05:00
.gitignore Fix #4: Use WASM 2018-02-24 12:47:13 -05:00
LICENSE Initial commit 2018-02-23 14:21:29 -05:00
Makefile Fix #4: Use WASM 2018-02-24 12:47:13 -05:00
README.md Bulk of initial work. 2018-02-23 14:34:33 -05:00
index.html Bulk of initial work. 2018-02-23 14:34:33 -05:00
main.cpp Bulk of initial work. 2018-02-23 14:34:33 -05:00
pyodide.js Fix #4: Use WASM 2018-02-24 12:47:13 -05:00

README.md

Calling Python from Javascript with value conversion

Building

These instructions were tested on Linux. OSX should be substantively the same.

  1. Build emscripten according to these instructions.

  2. Enable the emscripten environment (source emsdk_env.sh)

  3. Build cpython-emscripten:

    1. Clone the git repository

    2. cd into 3.5.2, and type make.

  4. Build this project.

    [It assumes that cpython-emscripten was checked out and built in a directory alongside this project. TODO: Provide a way to specify the cpython-emscripten location]

    Type make.