Skip to content

Commit d066e63

Browse files
committed
run.sh and run.bat updated
1 parent 835eaad commit d066e63

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

run.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ set "script_dir=%~dp0"
55
set "venv_dir=%script_dir%venv"
66

77
if not exist "%venv_dir%" (
8-
python -m venv "%venv_dir%"
9-
"%venv_dir%\Scripts\python" -m pip --require-virtualenv install --upgrade pip build
8+
python3 -m venv "%venv_dir%"
9+
"%venv_dir%\Scripts\python3" -m pip --require-virtualenv install --upgrade pip build
1010
)
1111

12-
"%venv_dir%\Scripts\python" %*
12+
"%venv_dir%\Scripts\python3" %*
1313

1414
endlocal

run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ script_dir="$(cd "$(dirname "$0")" && pwd)"
55
venv_dir="$script_dir/venv"
66

77
if [[ ! -d "$venv_dir" ]]; then
8-
python -m venv "$venv_dir"
9-
"$venv_dir/bin/python" -m pip --require-virtualenv install --upgrade pip build
8+
python3 -m venv "$venv_dir"
9+
"$venv_dir/bin/python3" -m pip --require-virtualenv install --upgrade pip build
1010
fi
1111

12-
"$venv_dir/bin/python" "$@"
12+
"$venv_dir/bin/python3" "$@"

0 commit comments

Comments
 (0)