From b8a4c0ba657c8fd85e6ca552e210d419a9920f93 Mon Sep 17 00:00:00 2001 From: Brian Ryner Date: Wed, 6 Apr 2022 00:27:23 +0000 Subject: [PATCH] The python3 bin directory no longer needs to be added to PATH. Bug: 1003139 Change-Id: Iaa288b8b4b2090ac055f53b6b0e116a7874e8bee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3570881 Reviewed-by: Chenlin Fan Reviewed-by: Bruce Dawson Reviewed-by: Josip Sokcevic Commit-Queue: Brian Ryner --- vpython3.bat | 3 --- 1 file changed, 3 deletions(-) diff --git a/vpython3.bat b/vpython3.bat index 62e395293..df1a62a6c 100644 --- a/vpython3.bat +++ b/vpython3.bat @@ -3,11 +3,8 @@ :: Use of this source code is governed by a BSD-style license that can be :: found in the LICENSE file. -:: TODO(crbug.com/1003139): Remove. -:: Add Python 3 to PATH to work around crbug.com/1003139. setlocal for /f %%i in (%~dp0python3_bin_reldir.txt) do set PYTHON3_BIN_RELDIR=%%i -set PATH=%~dp0%PYTHON3_BIN_RELDIR%;%~dp0%PYTHON3_BIN_RELDIR%\Scripts;%~dp0%PYTHON3_BIN_RELDIR%\DLLs;%PATH% call "%~dp0\cipd_bin_setup.bat" > nul 2>&1 "%~dp0\.cipd_bin\vpython3.exe" -vpython-interpreter "%~dp0\%PYTHON3_BIN_RELDIR%\python3.exe" %*