https://github.com/python/cpython/commit/d5191ba99b8f7723cbdb9b7a07ef8a3eef6524c1
commit: d5191ba99b8f7723cbdb9b7a07ef8a3eef6524c1
branch: main
author: adam j hartz <h...@mit.edu>
committer: AA-Turner <9087854+aa-tur...@users.noreply.github.com>
date: 2025-07-31T09:19:52+01:00
summary:

gh-137025: Include ``python.worker.mjs`` in the Emscripten Web Example (#137236)

files:
M Makefile.pre.in

diff --git a/Makefile.pre.in b/Makefile.pre.in
index b7b16ef4cb9d19..e2253d3e35b3e6 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1121,6 +1121,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 $< $@
@@ -1138,7 +1142,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 -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: arch...@mail-archive.com

Reply via email to