From 61628a3f4b2be9d5fe3e8aa9a3152954642c9f3e Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Tue, 11 Sep 2018 06:13:42 +0300 Subject: [PATCH] Termux: install deps from pupy dir (fix pykcp build) --- install-termux.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/install-termux.sh b/install-termux.sh index a3cb1164..a0ef977b 100755 --- a/install-termux.sh +++ b/install-termux.sh @@ -1,5 +1,10 @@ #!/bin/sh +THIS_FILE=`readlink -f $0` +THIS_DIR=`dirname ${THIS_FILE}` + +cd ${THIS_DIR}/pupy + apt update pkg upgrade -y @@ -9,8 +14,9 @@ pkg install -y python2-dev curl clang libcrypt-dev libffi-dev openssl-dev \ ln -fs /data/data/com.termux/files/usr/bin/python2 /data/data/com.termux/files/usr/bin/python ln -fs /data/data/com.termux/files/usr/bin/pip2 /data/data/com.termux/files/usr/bin/pip + python2 -m pip install --global-option 'build_ext' --global-option '--use-system-libuv' pyuv -python2 -m pip install -r pupy/requirements.txt +python2 -m pip install -r requirements.txt python2 -m pip install --upgrade --force-reinstall pycryptodome mkdir -p ~/netbase/wireshark/share/wireshark