cChardet/dockerfiles/buildwheel.sh

13 lines
416 B
Bash
Raw Permalink Normal View History

2016-10-17 15:24:49 +00:00
#!/bin/bash
set -e -x
ARCH=`uname -p`
echo "arch=$ARCH"
2020-10-27 08:09:47 +00:00
for V in cp39-cp39 cp38-cp38 cp37-cp37m cp36-cp36m; do
2016-10-17 15:24:49 +00:00
PYBIN=/opt/python/$V/bin
rm -rf build src/cchardet/__pycache__ src/cchardet/*.cpp src/cchardet/*.pyc src/cchardet/*.so src/cchardet.egg-info src/tests/__pycache__ src/tests/*.pyc
$PYBIN/pip install -r requirements-dev.txt
2020-10-27 08:09:47 +00:00
$PYBIN/python setup.py bdist_wheel -p manylinux2014_${ARCH}
2016-10-17 15:24:49 +00:00
done