File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3
3
import runpy
4
4
import sys
5
5
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 ; "
7
7
"execute the `wasi/` directory instead (i.e. `python Tools/wasm/wasi`)\n " ,
8
8
file = sys .stderr )
9
9
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ def configure_wasi_python(context, working_dir):
258
258
with exec_script .open ("w" , encoding = "utf-8" ) as file :
259
259
file .write (f'#!/bin/sh\n exec { host_runner } { python_wasm } "$@"\n ' )
260
260
exec_script .chmod (0o755 )
261
- print (f"🏃♀️ Created { exec_script } ... " )
261
+ print (f"🏃♀️ Created { exec_script } (--host-runner) ... " )
262
262
sys .stdout .flush ()
263
263
264
264
@@ -270,10 +270,10 @@ def make_wasi_python(context, working_dir):
270
270
quiet = context .quiet )
271
271
272
272
exec_script = working_dir / "python.sh"
273
- subprocess . check_call ([exec_script , "--version" ])
273
+ call ([exec_script , "--version" ], quiet = False )
274
274
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 "
277
277
)
278
278
279
279
You can’t perform that action at this time.
0 commit comments