cpython/Tools/wasm/emscripten/__main__.py
Miss Islington (bot) f06961e044
[3.14] gh-145176 Move Emscripten files into Platforms/emscripten (GH-145806) (#146043)
Moves Emscripten build files into Platforms/emscripten.
(cherry picked from commit 1b118353bb)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2026-03-17 10:17:47 +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__")