mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[3.14] gh-137025: Include `python.worker.mjs` in the Emscripten Web Example (GH-137236) (#137272)
gh-137025: Include ``python.worker.mjs`` in the Emscripten Web Example (GH-137236)
(cherry picked from commit d5191ba99b)
Co-authored-by: adam j hartz <hz@mit.edu>
This commit is contained in:
parent
058c2770a2
commit
d76a0ce4d0
1 changed files with 5 additions and 1 deletions
|
|
@ -1109,6 +1109,10 @@ web_example/index.html: $(WEBEX_DIR)/index.html
|
||||||
@mkdir -p web_example
|
@mkdir -p web_example
|
||||||
@cp $< $@
|
@cp $< $@
|
||||||
|
|
||||||
|
web_example/python.worker.mjs: $(WEBEX_DIR)/python.worker.mjs
|
||||||
|
@mkdir -p web_example
|
||||||
|
@cp $< $@
|
||||||
|
|
||||||
web_example/server.py: $(WEBEX_DIR)/server.py
|
web_example/server.py: $(WEBEX_DIR)/server.py
|
||||||
@mkdir -p web_example
|
@mkdir -p web_example
|
||||||
@cp $< $@
|
@cp $< $@
|
||||||
|
|
@ -1126,7 +1130,7 @@ web_example/python.mjs web_example/python.wasm: $(BUILDPYTHON)
|
||||||
cp python.wasm web_example/python.wasm
|
cp python.wasm web_example/python.wasm
|
||||||
|
|
||||||
.PHONY: web_example
|
.PHONY: web_example
|
||||||
web_example: web_example/python.mjs web_example/index.html web_example/server.py web_example/$(ZIP_STDLIB)
|
web_example: web_example/python.mjs web_example/python.worker.mjs web_example/index.html web_example/server.py web_example/$(ZIP_STDLIB)
|
||||||
|
|
||||||
WEBEX2=web_example_pyrepl_jspi
|
WEBEX2=web_example_pyrepl_jspi
|
||||||
WEBEX2_DIR=$(EMSCRIPTEN_DIR)/$(WEBEX2)/
|
WEBEX2_DIR=$(EMSCRIPTEN_DIR)/$(WEBEX2)/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue