Make Python 3 default on Windows

Users can still set GCLIENT_PY3=0 to use Python 2.

R=ehmaldonado@chromium.org

Change-Id: Ic7657a091bfe3b9c426ab36063b106aadf2d1c84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2161266
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
This commit is contained in:
Josip Sokcevic
2020-04-22 21:08:10 +00:00
committed by LUCI CQ
parent 64c1faf0fb
commit c621315d17
7 changed files with 6 additions and 18 deletions

View File

@@ -16,6 +16,6 @@ IF "%GCLIENT_PY3%" == "1" (
:: Explicitly run on Python 2
call vpython "%~dp0\roll_dep.py" %*
) ELSE (
:: Run on Python 2, allows default to be flipped.
call vpython "%~dp0\roll_dep.py" %*
:: Run on Python 3, allows default to be flipped.
call vpython3 "%~dp0\roll_dep.py" %*
)