Add python batch wrappers
Bug: 777069 Change-Id: I32094c81f6050acc7e84d9eb9b1900071a937552 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2748948 Commit-Queue: Josip Sokcevic <sokcevic@google.com> Reviewed-by: Dirk Pranke <dpranke@google.com>changes/48/2748948/4
parent
2f8ba75562
commit
8d727180be
@ -0,0 +1,11 @@
|
||||
@echo off
|
||||
:: Copyright 2021 The Chromium Authors. All rights reserved.
|
||||
:: Use of this source code is governed by a BSD-style license that can be
|
||||
:: found in the LICENSE file.
|
||||
|
||||
setlocal
|
||||
|
||||
for %%d in (%~dp0..) do set PARENT_DIR=%%~fd
|
||||
for /f %%i in (%PARENT_DIR%\python3_bin_reldir.txt) do set PYTHON_BIN_ABSDIR=%PARENT_DIR%\%%i
|
||||
set PATH=%PYTHON_BIN_ABSDIR%;%PYTHON_BIN_ABSDIR%\Scripts;%PATH%
|
||||
"%PYTHON_BIN_ABSDIR%\python3.exe" %*
|
@ -0,0 +1,11 @@
|
||||
@echo off
|
||||
:: Copyright 2021 The Chromium Authors. All rights reserved.
|
||||
:: Use of this source code is governed by a BSD-style license that can be
|
||||
:: found in the LICENSE file.
|
||||
|
||||
setlocal
|
||||
|
||||
for %%d in (%~dp0..) do set PARENT_DIR=%%~fd
|
||||
for /f %%i in (%PARENT_DIR%\python_bin_reldir.txt) do set PYTHON_BIN_ABSDIR=%PARENT_DIR%\%%i
|
||||
set PATH=%PYTHON_BIN_ABSDIR%;%PYTHON_BIN_ABSDIR%\Scripts;%PATH%
|
||||
"%PYTHON_BIN_ABSDIR%\python.exe" %*
|
Loading…
Reference in New Issue