mirror of
https://github.com/python/cpython.git
synced 2026-04-15 08:11:10 +00:00
Moves Emscripten build files into Platforms/emscripten.
(cherry picked from commit 1b118353bb)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
14 lines
496 B
Python
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__")
|