eth0s/toolchain/24-python

13 lines
268 B
Text
Raw Normal View History

name=python
2022-04-09 08:19:46 +08:00
version=3.10.4
2021-04-18 08:19:42 +08:00
source="https://www.python.org/ftp/python/$version/Python-$version.tar.xz"
build() {
cd Python-$version
2020-11-13 13:58:01 +08:00
#sed -i '/def add_multiarch_paths/a \ return' setup.py
./configure --prefix=/tools --without-ensurepip
make
make install
}