pyodide/README.md

19 lines
554 B
Markdown
Raw Normal View History

2018-02-24 17:52:47 +00:00
# Pyodide
This provides an integration layer when running an empscripten-compiled CPython
inside a web browser. It provides transparent conversion of objects between
Javascript and Python and a sharing of global namespaces. When inside a browser,
this means Python has full access to the Web APIs.
2018-02-23 19:34:33 +00:00
# Building
These instructions were tested on Linux. OSX should be substantively the same.
2018-02-28 14:12:26 +00:00
1. Build/install emscripten according to its instructions.
2018-02-23 19:34:33 +00:00
2. Enable the emscripten environment (`source emsdk_env.sh`)
2018-02-27 22:57:22 +00:00
3. Build this project.
2018-02-23 19:34:33 +00:00
Type `make`.