fix python detection on windows (#30302)

This commit is contained in:
Akash Patel 2022-08-17 13:27:34 -04:00 committed by GitHub
parent 83825a889f
commit 1b8f7b1c79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ def _python_autoconf_impl(repository_ctx):
repository_ctx,
"_python3",
_PYTHON3_BIN_PATH,
"python3",
"python3" if not _is_windows(repository_ctx) else "python.exe",
_PYTHON3_LIB_PATH,
False
)