Support Python 3.10 and Drop Python 3.5 (#487)

* linux: Use manylinux2014
* mac: Drop Python 3.6 too
This commit is contained in:
Inada Naoki 2021-11-16 16:19:47 +09:00 committed by GitHub
parent 9b84e490e7
commit b3f7254192
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 49 additions and 24 deletions

View file

@ -7,10 +7,12 @@ set -e -x
ARCH=`uname -p`
echo "arch=$ARCH"
ls /opt/python
for V in "${PYTHON_VERSIONS[@]}"; do
PYBIN=/opt/python/$V/bin
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
$PYBIN/python setup.py bdist_wheel
$PYBIN/python -m build -w
done
cd dist

View file

@ -1,7 +1,7 @@
PYTHON_VERSIONS=(
cp310-cp310
cp39-cp39
cp38-cp38
cp37-cp37m
cp36-cp36m
cp35-cp35m
)