cpython/Tools/wasm/wasi/__main__.py
Brett Cannon 6181b69970
GH-143941: Move WASI-related files to Platforms/WASI (GH-143942)
Along the way, leave a deprecated Tools/wasm/wasi/__main__.py behind for backwards-compatibility.

Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
2026-01-21 14:31:58 -08:00

14 lines
446 B
Python

if __name__ == "__main__":
import pathlib
import runpy
import sys
print(
"⚠️ WARNING: This script is deprecated and slated for removal in Python 3.20; "
"execute the `Platforms/WASI/` directory instead (i.e. `python Platforms/WASI`)\n",
file=sys.stderr,
)
checkout = pathlib.Path(__file__).parent.parent.parent.parent
runpy.run_path(checkout / "Platforms" / "WASI", run_name="__main__")