Skip to content

Commit afc30ce

Browse files
author
caolei
committed
add setup scripts
1 parent ad0fba6 commit afc30ce

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

setup.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
#!/bin/bash
22

3-
py_pkgs=(click cmsis_pack_manager pyelftools)
3+
py_pkgs=(click cmsis_pack_manager pyelftools intervaltree dataclasses)
44

5-
for var in "$py_pkgs"
5+
for name in ${py_pkgs[*]}
66
do
7-
python3 -m pip --no-cache-dir install $var -t ./ -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
7+
python3 -m pip --no-cache-dir install $name -t ./ -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
88
done
9+
10+
python3 ./__main__.py --help
11+
12+
exit $?

0 commit comments

Comments
 (0)