@@ -16,7 +16,10 @@ all: check \
16
16
build/pyodide.asm.js \
17
17
build/pyodide.js \
18
18
build/console.html \
19
+ build/distutils.data \
19
20
build/packages.json \
21
+ $(if $(PYODIDE_BUILD ) , , "build/test.data") \
22
+ $(if $(PYODIDE_BUILD ) , , "build/test.html") \
20
23
build/webworker.js \
21
24
build/webworker_dev.js
22
25
echo -e " \nSUCCESS!"
@@ -53,6 +56,10 @@ build/pyodide.asm.js: \
53
56
-lproxyfs.js \
54
57
-lworkerfs.js \
55
58
--preload-file $(CPYTHONLIB ) @/lib/python$(PYMAJOR ) .$(PYMINOR ) \
59
+ $(if $(PYODIDE_BUILD ) , "", "--preload-file src/webbrowser.py@/lib/python$(PYMAJOR ) .$(PYMINOR ) /webbrowser.py") \
60
+ $(if $(PYODIDE_BUILD ) , "", "--preload-file src/_testcapi.py@/lib/python$(PYMAJOR ) .$(PYMINOR ) /_testcapi.py") \
61
+ $(if $(PYODIDE_BUILD ) , "", "--preload-file src/_testinternalcapi.py@/lib/python$(PYMAJOR ) .$(PYMINOR ) /_testinternalcapi.py") \
62
+ $(if $(PYODIDE_BUILD ) , "", "--preload-file src/pystone.py@/lib/python$(PYMAJOR ) .$(PYMINOR ) /pystone.py") \
56
63
--preload-file src/py/pyodide@/lib/python$(PYMAJOR ) .$(PYMINOR ) /site-packages/pyodide \
57
64
--preload-file src/py/_pyodide@/lib/python$(PYMAJOR ) .$(PYMINOR ) /site-packages/_pyodide \
58
65
--exclude-file " *__pycache__*" \
@@ -220,11 +227,9 @@ FORCE:
220
227
check : $(UGLIFYJS )
221
228
./tools/dependency-check.sh
222
229
223
-
224
230
minimal :
225
231
PYODIDE_PACKAGES+=" ,micropip" make
226
232
227
-
228
233
debug :
229
234
EXTRA_CFLAGS+=" -D DEBUG_F" \
230
235
PYODIDE_PACKAGES+=" , micropip, pyparsing, pytz, packaging, " \
0 commit comments