Use python -V -V for Windows build diagnostics (#2832)

This commit is contained in:
TT
2026-05-03 20:10:49 +05:30
committed by GitHub
parent a9f58eb656
commit 29d36dc17d
6 changed files with 9 additions and 5 deletions
+4 -1
View File
@@ -229,7 +229,10 @@ def setup_env(
f"or insert {command} above it."
)
raise errors.FatalError(msg)
call(command, "--version", env=build_env)
if command == "python":
call(command, "-V", "-V", env=build_env)
else:
call(command, "--version", env=build_env)
# Construct an altered environment which simulates running on Android.
android_env = setup_android_env(config, python_dir, venv_dir, build_env)