This is an automated email from the ASF dual-hosted git repository. gnutt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-testing.git
commit 0b2171b63bbe4b555e1277e59bef7e58487f8dd5 Author: Brennan Ashton <[email protected]> AuthorDate: Sat Mar 21 22:59:29 2020 -0700 Configure python environment and install esptool Signed-off-by: Brennan Ashton <[email protected]> --- cibuild.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/cibuild.sh b/cibuild.sh index 2c70b7c..1742405 100755 --- a/cibuild.sh +++ b/cibuild.sh @@ -24,12 +24,19 @@ apps=$WD/../apps tools=$WD/../tools prebuilt=$WD/../prebuilt -install="gen-romfs gperf kconfig-frontends arm-gcc-toolchain mips-gcc-toolchain riscv-gcc-toolchain xtensa-esp32-gcc-toolchain c-cache" +install="python-tools gen-romfs gperf kconfig-frontends arm-gcc-toolchain mips-gcc-toolchain riscv-gcc-toolchain xtensa-esp32-gcc-toolchain c-cache" function add_path { PATH=$1:$PATH } +function python-tools { + # Python User Env + PIP_USER=yes + PYTHONUSERBASE=$prebuilt/pylocal + add_path $PYTHONUSERBASE/bin +} + function gen-romfs { add_path $prebuilt/genromfs/usr/bin @@ -118,6 +125,7 @@ function xtensa-esp32-gcc-toolchain { rm xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-rc2-linux-amd64.tar fi xtensa-esp32-elf-gcc --version + pip install esptool } function c-cache {
