Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Tools/wasm/wasi.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import runpy
import sys

print("⚠️ WARNING: This script is deprecated and slated for removal in Python 3.19; "
print("⚠️ WARNING: This script is deprecated and slated for removal in Python 3.20; "
"execute the `wasi/` directory instead (i.e. `python Tools/wasm/wasi`)\n",
file=sys.stderr)

Expand Down
8 changes: 4 additions & 4 deletions Tools/wasm/wasi/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def configure_wasi_python(context, working_dir):
with exec_script.open("w", encoding="utf-8") as file:
file.write(f'#!/bin/sh\nexec {host_runner} {python_wasm} "$@"\n')
exec_script.chmod(0o755)
print(f"🏃‍♀️ Created {exec_script} ... ")
print(f"🏃‍♀️ Created {exec_script} (--host-runner)... ")
sys.stdout.flush()


Expand All @@ -270,10 +270,10 @@ def make_wasi_python(context, working_dir):
quiet=context.quiet)

exec_script = working_dir / "python.sh"
subprocess.check_call([exec_script, "--version"])
call([exec_script, "--version"], quiet=False)
print(
f"🎉 Use '{exec_script.relative_to(context.init_dir)}' "
"to run CPython in wasm runtime"
f"🎉 Use `{exec_script.relative_to(context.init_dir)}` "
"to run CPython w/ the WASI host specified by --host-runner"
)


Expand Down
Loading