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