cpython/Tools/wasm/emscripten/__main__.py
Hood Chatham 1b118353bb
gh-145176 Move Emscripten files into Platforms/emscripten (#145806)
Moves Emscripten build files into Platforms/emscripten.
2026-03-17 09:39:45 +08:00

14 lines
496 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/emscripten/` directory instead (i.e. `python Platforms/emscripten`)\n",
file=sys.stderr,
)
checkout = pathlib.Path(__file__).parents[3]
emscripten_dir = (checkout / "Platforms/emscripten").absolute()
runpy.run_path(str(emscripten_dir), run_name="__main__")