fix(scripts/setup-offline-bundle.sh): don't install pip

As of now this cannot be done for offline bundle.

 ERROR: /data/data/com.termux/files/usr/bin/python3.11 does not exist
This commit is contained in:
Leonid Pliushch 2023-01-16 12:21:02 +02:00
parent 67d63ec3d9
commit 6318aab0cd
No known key found for this signature in database
GPG Key ID: A109C088BB8EA41A
1 changed files with 6 additions and 3 deletions

View File

@ -26,6 +26,9 @@ export TERMUX_HOST_PLATFORM=aarch64-linux-android
export TERMUX_ARCH_BITS=64
export TERMUX_BUILD_TUPLE=x86_64-pc-linux-gnu
export TERMUX_PKG_API_LEVEL=24
export TERMUX_TOPDIR="$HOME/.termux-build"
export TERMUX_PYTHON_CROSSENV_PREFIX="$TERMUX_TOPDIR/python-crossenv-prefix"
export TERMUX_PYTHON_VERSION=$(. "$TERMUX_SCRIPTDIR/packages/python/build.sh"; echo "$_MAJOR_VERSION")
export CC=gcc CXX=g++ LD=ld AR=ar STRIP=strip PKG_CONFIG=pkg-config
export CPPFLAGS="" CFLAGS="" CXXFLAGS="" LDFLAGS=""
mkdir -p "$TERMUX_PKG_TMPDIR"
@ -50,9 +53,9 @@ mkdir -p "$TERMUX_PKG_TMPDIR"
(. "$TERMUX_SCRIPTDIR"/scripts/build/setup/termux_setup_protobuf.sh
termux_setup_protobuf
)
(. "$TERMUX_SCRIPTDIR"/scripts/build/setup/termux_setup_python_pip.sh
termux_setup_python_pip
)
#(. "$TERMUX_SCRIPTDIR"/scripts/build/setup/termux_setup_python_pip.sh
# termux_setup_python_pip
#)
# Offline rust is not supported yet.
#(. "$TERMUX_SCRIPTDIR"/scripts/build/setup/termux_setup_rust.sh
# termux_setup_rust