Skip to content

Commit 3de6ced

Browse files
committed
add pip install tqdm
1 parent 55a03c5 commit 3de6ced

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

install_macos.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ if ! [ -x "$(command -v scons)" ]; then
4141
$RTT_PYTHON -m pip install scons
4242
fi
4343

44+
if ! [ -x "$(command -v tqdm)" ]; then
45+
echo "Installing tqdm."
46+
$RTT_PYTHON -m pip install tqdm
47+
fi
48+
4449
if ! [ -x "$(command -v pyocd)" ]; then
4550
echo "Installing pyocd."
4651
$RTT_PYTHON -m pip install -U pyocd

install_suse.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
sudo zypper update -y
44

55
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
77
python3 -m pip install -U pyocd
88

99
url=https://raw.githubusercontent.com/RT-Thread/env/v1.5.x/touch_env.sh

install_ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sudo apt-get update
44
sudo apt-get upgrade -y
55

66
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
88
python3 -m pip install -U pyocd
99

1010
url=https://raw.githubusercontent.com/RT-Thread/env/v1.5.x/touch_env.sh

install_windows.ps1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ if (!(Test-Command pyocd)) {
8383
echo "pyocd has installed. Jump this step."
8484
}
8585

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+
8694
cmd /c $RTT_PYTHON -m pip list -i $PIP_SOURCE --trusted-host $PIP_HOST | findstr "requests" | Out-Null
8795
if (!$?) {
8896
echo "Installing requests module."

0 commit comments

Comments
 (0)