This is a fork of Python-3.12.5 with Termux patches (termux.patch
) applied.
But first make sure you have these dependencies installed with apt
or pkg
:
python
, this will install all dependencies needed to buildpython-3.12.5
build-essential
, this will installclang
,make
etcstow
, to install the package after building it
After that the package can be build with: bash build.sh
. That will build and install it in python-3.12.5
directory.
Or you can download the binary package from here:
You can install that directory with stow
like this:
mkdir -p $PREFIX/stow
mv python-3.12.5 $PREFIX/stow/
cd $PREFIX/stow
stow -v --stow python-3.12.5