mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
added python 3.10
This commit is contained in:
parent
8a89af7512
commit
fecfed48fd
6 changed files with 39 additions and 0 deletions
20
packages/python/3.10.0/build.sh
vendored
Executable file
20
packages/python/3.10.0/build.sh
vendored
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
mkdir -p build
|
||||
|
||||
cd build
|
||||
|
||||
curl "https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz" -o python.tar.gz
|
||||
tar xzf python.tar.gz --strip-components=1
|
||||
rm python.tar.gz
|
||||
|
||||
./configure --prefix "$PREFIX" --with-ensurepip=install
|
||||
make -j$(nproc)
|
||||
make install -j$(nproc)
|
||||
|
||||
cd ..
|
||||
|
||||
rm -rf build
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue