We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8f01a1 commit 3f04af4Copy full SHA for 3f04af4
scripts/upgrade_env.bat
@@ -10,6 +10,17 @@ REM ======================================================
10
setlocal
11
call %~dp0utils GetScriptPath SCRIPTPATH
12
cd %SCRIPTPATH%\..
13
-%PYTHON% -m pip install --upgrade -r dev\requirements.txt
+
14
+:: Iterate over all directories in the grandparent directory
15
+:: (WinPython base directories)
16
+call %FUNC% GetPythonExeGrandParentDir DIR0
17
+for /D %%d in ("%DIR0%*") do (
18
+ set WINPYDIRBASE=%%d
19
+ call !WINPYDIRBASE!\scripts\env.bat
20
+ echo Upgrading environment for "%%d":
21
+ python -m pip install --upgrade -r dev\requirements.txt
22
+ echo ----
23
+)
24
25
%PYTHON% -m pip list > dev\pip_list.txt
26
call %FUNC% EndOfScript
0 commit comments