mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-133259: Show path to python.sh script on successful build (#133268)
* gh-133259: Show path to python.sh script on successful build * wasmtime -> (generic) wasm runtime
This commit is contained in:
parent
a4be3bc34f
commit
c14134020f
1 changed files with 5 additions and 0 deletions
|
@ -270,6 +270,10 @@ def make_wasi_python(context, working_dir):
|
|||
|
||||
exec_script = working_dir / "python.sh"
|
||||
subprocess.check_call([exec_script, "--version"])
|
||||
print(
|
||||
f"🎉 Use '{exec_script.relative_to(context.init_dir)}' "
|
||||
"to run CPython in wasm runtime"
|
||||
)
|
||||
|
||||
|
||||
def build_all(context):
|
||||
|
@ -348,6 +352,7 @@ def main():
|
|||
help="The target triple for the WASI host build")
|
||||
|
||||
context = parser.parse_args()
|
||||
context.init_dir = pathlib.Path().absolute()
|
||||
|
||||
dispatch = {"configure-build-python": configure_build_python,
|
||||
"make-build-python": make_build_python,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue