From fccee38de4413d5a32f128e09a8aa8b1d51771bd Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 25 Jun 2026 18:46:56 +0200 Subject: [PATCH] Run pythoninfo-build on Emscripten Run pythoninfo-build to display the build information of the build Python. Replace also "run --pythoninfo" with "pythoninfo-host" command. --- master/custom/factories.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/master/custom/factories.py b/master/custom/factories.py index 53294cb2..f1c55630 100644 --- a/master/custom/factories.py +++ b/master/custom/factories.py @@ -1425,24 +1425,32 @@ def setup(self, **kwargs): command=["python3", "Platforms/emscripten", "make-build-python"], env=compile_environ, ), + PythonInfo( + name="Display build info of the build Python", + command=[ + "python3", "Platforms/emscripten", "pythoninfo-build", + ], + env=compile_environ, + ), Compile( name="Compile host dependencies (if needed)", command=["python3", "Platforms/emscripten", "make-dependencies"], env=compile_environ, ), Configure( - name="Configure host Python", + name="Configure host/Emscripten Python", command=["python3", "Platforms/emscripten", "configure-host"], env=compile_environ, ), Compile( - name="Compile host Python", + name="Compile host/Emscripten Python", command=["python3", "Platforms/emscripten", "make-host"], env=compile_environ, ), PythonInfo( + name="Display build info of the host/Emscripten Python", command=[ - "python3", "Platforms/emscripten", "run", "--pythoninfo", + "python3", "Platforms/emscripten", "pythoninfo-host", ], env=compile_environ, ),