Skip to content

Commit 8001278

Browse files
committed
Fixed: upgrade_env.bat
1 parent ed0e718 commit 8001278

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/upgrade_env.bat

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ REM Licensed under the terms of the MIT License
77
REM Copyright (c) 2020 Pierre Raybaut
88
REM (see PythonQwt LICENSE file for more details)
99
REM ======================================================
10-
setlocal
10+
setlocal enabledelayedexpansion
1111
call %~dp0utils GetScriptPath SCRIPTPATH
1212
cd %SCRIPTPATH%\..
1313

@@ -18,7 +18,8 @@ for /D %%d in ("%DIR0%*") do (
1818
set WINPYDIRBASE=%%d
1919
call !WINPYDIRBASE!\scripts\env.bat
2020
echo Upgrading environment for "%%d":
21-
python -m pip install --upgrade -r dev\requirements.txt
21+
python -m pip install --upgrade pip
22+
python -m pip install --upgrade -r requirements.txt
2223
echo ----
2324
)
2425

0 commit comments

Comments
 (0)