https://github.com/python/cpython/commit/d76a0ce4d0e7918cfb6add99e242a3be5f09b35d
commit: d76a0ce4d0e7918cfb6add99e242a3be5f09b35d
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: AA-Turner <[email protected]>
date: 2025-10-07T19:15:33+01:00
summary:

[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 d5191ba99b8f7723cbdb9b7a07ef8a3eef6524c1)

Co-authored-by: adam j hartz <[email protected]>

files:
M Makefile.pre.in

diff --git a/Makefile.pre.in b/Makefile.pre.in
index ba039794c88b01..ca536d32a61167 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1109,6 +1109,10 @@ web_example/index.html: $(WEBEX_DIR)/index.html
        @mkdir -p web_example
        @cp $< $@
 
+web_example/python.worker.mjs: $(WEBEX_DIR)/python.worker.mjs
+       @mkdir -p web_example
+       @cp $< $@
+
 web_example/server.py: $(WEBEX_DIR)/server.py
        @mkdir -p web_example
        @cp $< $@
@@ -1126,7 +1130,7 @@ web_example/python.mjs web_example/python.wasm: 
$(BUILDPYTHON)
        cp python.wasm web_example/python.wasm
 
 .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_DIR=$(EMSCRIPTEN_DIR)/$(WEBEX2)/

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to