File tree Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ if ! [ -x "$(command -v scons)" ]; then
41
41
$RTT_PYTHON -m pip install scons
42
42
fi
43
43
44
+ if ! [ -x " $( command -v tqdm) " ]; then
45
+ echo " Installing tqdm."
46
+ $RTT_PYTHON -m pip install tqdm
47
+ fi
48
+
44
49
if ! [ -x " $( command -v pyocd) " ]; then
45
50
echo " Installing pyocd."
46
51
$RTT_PYTHON -m pip install -U pyocd
Original file line number Diff line number Diff line change 3
3
sudo zypper update -y
4
4
5
5
sudo zypper install python3 python3-pip gcc git ncurses-devel cross-arm-none-gcc11-bootstrap cross-arm-binutils qemu qemu-arm qemu-extra -y
6
- python3 -m pip install scons requests
6
+ python3 -m pip install scons requests tqdm
7
7
python3 -m pip install -U pyocd
8
8
9
9
url=https://raw.githubusercontent.com/RT-Thread/env/v1.5.x/touch_env.sh
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ sudo apt-get update
4
4
sudo apt-get upgrade -y
5
5
6
6
sudo apt-get -qq install python3 python3-pip gcc git libncurses5-dev gcc-arm-none-eabi binutils-arm-none-eabi gdb-multiarch qemu qemu-system-arm -y
7
- python3 -m pip install scons requests
7
+ python3 -m pip install scons requests tqdm
8
8
python3 -m pip install -U pyocd
9
9
10
10
url=https://raw.githubusercontent.com/RT-Thread/env/v1.5.x/touch_env.sh
Original file line number Diff line number Diff line change @@ -83,6 +83,14 @@ if (!(Test-Command pyocd)) {
83
83
echo " pyocd has installed. Jump this step."
84
84
}
85
85
86
+ cmd / c $RTT_PYTHON - m pip list - i $PIP_SOURCE -- trusted- host $PIP_HOST | findstr " tqdm" | Out-Null
87
+ if (! $? ) {
88
+ echo " Installing tqdm module."
89
+ cmd / c $RTT_PYTHON - m pip install tqdm - i $PIP_SOURCE -- trusted- host $PIP_HOST
90
+ } else {
91
+ echo " tqdm module has installed. Jump this step."
92
+ }
93
+
86
94
cmd / c $RTT_PYTHON - m pip list - i $PIP_SOURCE -- trusted- host $PIP_HOST | findstr " requests" | Out-Null
87
95
if (! $? ) {
88
96
echo " Installing requests module."
You can’t perform that action at this time.
0 commit comments