1
0
Fork 0
mirror of https://github.com/engineer-man/piston.git synced 2025-05-03 02:16:26 +02:00

Adds python 3.9.4 and 3.10.0a7 ()

* pkg(python-3.9.4): Adds python 3.9.4

* pkg(python-3.10.0a7): Adds python 3.10.0a7

* pkg(python-3.10.0a7): More pythonic 3.10.0a7 code

* pkg(python-3.10.0a7): Use semver versioning

* pkg(python-3.10.0a7): remove 'py3' alias and add 'py'

* pkg(python-3.9.4): remove 'py3' alias and add 'py'
This commit is contained in:
Shivansh-007 2021-04-14 09:54:58 +05:30 committed by GitHub
parent 86e902e630
commit f24f1a45a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 86 additions and 0 deletions
packages/python/3.9.4

21
packages/python/3.9.4/build.sh vendored Executable file
View file

@ -0,0 +1,21 @@
#!/bin/bash
PREFIX=$(realpath $(dirname $0))
mkdir -p build
cd build
curl "https://www.python.org/ftp/python/3.9.4/Python-3.9.4.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
bin/pip3 install numpy scipy pandas pycrypto whoosh bcrypt passlib