GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - python-emscripten/python: Build system and patches - mirror of https://www.beuc.net/python-emscripten/python

BranchesTags
Open more actions menu

Latest commit

 

History

105 Commits
105 Commits

Folders and files

NameName
Last commit message
Last commit date
.fossil-settings
.fossil-settings
 
 
2.7.10
2.7.10
 
 
2.7.18
2.7.18
 
 
3.8
3.8
 
 
mock
mock
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
emscripten.pyx
emscripten.pyx
 
 
emscripten_fetch.pyx
emscripten_fetch.pyx
 
 
git-export.sh
git-export.sh
 
 
static_submodules-test.c
static_submodules-test.c
 
 
webprompt-main.c
webprompt-main.c
 
 
webprompt-shell.html
webprompt-shell.html
 
 

Repository files navigation

Python compilation scripts and patches to run in the browser.

https://www.beuc.net/python-emscripten/python

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

Emscripten: download prebuilt binaries (or build from source)

git clone https://github.com/emscripten-core/emsdk/
pushd emsdk/
./emsdk install 2.0.2
./emsdk activate 2.0.2
popd
source emsdk/emsdk_env.sh

Python for the web browser!

cd 3.8/
./python.sh
./package-pythonhome.sh repr.py base64.py ...
emcc ... -lpython3.8 -s EMULATE_FUNCTION_POINTER_CASTS=1

Web demo: https://www.beuc.net/python-emscripten/demo/

./webprompt.sh
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.

Mirrors:

  • https://gitlab.com/python-emscripten/python
  • https://github.com/python-emscripten/python

About

Build system and patches - mirror of https://www.beuc.net/python-emscripten/python

Resources

Readme
License
Activity
Custom properties

Stars

21 stars

Watchers

3 watching

Forks

2 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.