File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 import runpy
44 import sys
55
6- print ("⚠️ WARNING: This script is deprecated and slated for removal in Python 3.19 ; "
6+ print ("⚠️ WARNING: This script is deprecated and slated for removal in Python 3.20 ; "
77 "execute the `wasi/` directory instead (i.e. `python Tools/wasm/wasi`)\n " ,
88 file = sys .stderr )
99
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ def configure_wasi_python(context, working_dir):
258258 with exec_script .open ("w" , encoding = "utf-8" ) as file :
259259 file .write (f'#!/bin/sh\n exec { host_runner } { python_wasm } "$@"\n ' )
260260 exec_script .chmod (0o755 )
261- print (f"🏃♀️ Created { exec_script } ... " )
261+ print (f"🏃♀️ Created { exec_script } (--host-runner) ... " )
262262 sys .stdout .flush ()
263263
264264
@@ -270,10 +270,10 @@ def make_wasi_python(context, working_dir):
270270 quiet = context .quiet )
271271
272272 exec_script = working_dir / "python.sh"
273- subprocess . check_call ([exec_script , "--version" ])
273+ call ([exec_script , "--version" ], quiet = False )
274274 print (
275- f"🎉 Use ' { exec_script .relative_to (context .init_dir )} ' "
276- "to run CPython in wasm runtime "
275+ f"🎉 Use ` { exec_script .relative_to (context .init_dir )} ` "
276+ "to run CPython w/ the WASI host specified by --host-runner "
277277 )
278278
279279
You can’t perform that action at this time.
0 commit comments