File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11@ echo off
2- python3 " %EIDE_TOOL_JLINK_DEV_ADDON% \__main__.py" %*
2+ %EIDE_PY3_CMD% " %EIDE_TOOL_JLINK_DEV_ADDON% \__main__.py" %*
Original file line number Diff line number Diff line change 11#! /bin/bash
2- python3 " ${EIDE_TOOL_JLINK_DEV_ADDON} /__main__.py" " $@ "
2+ ${EIDE_PY3_CMD} " ${EIDE_TOOL_JLINK_DEV_ADDON} /__main__.py" " $@ "
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ if [ x" $EIDE_PY3_CMD " == x" " ]; then
4+ echo " warning: EIDE_PY3_CMD not set, using system python."
5+ EIDE_PY3_CMD=python
6+ fi
7+
38py_pkgs=(click cmsis_pack_manager pyelftools intervaltree dataclasses)
49
510for name in ${py_pkgs[*]}
611do
7- python3 -m pip --no-cache-dir install $name -t ./ -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
12+ ${EIDE_PY3_CMD} -m pip --no-cache-dir install $name -t ./ -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
813done
914
10- python3 ./__main__.py --help
15+ ${EIDE_PY3_CMD} ./__main__.py --help
1116
1217exit $?
You can’t perform that action at this time.
0 commit comments