cChardet/dockerfiles/buildwheel.sh
PyYoshi 28c56f0597 install requirements-dev.txt on manylinux1
(cherry picked from commit 752e783884c4b0f7e6eac1d0aed47f8c60cbdb7f)
2018-01-10 01:11:36 +09:00

12 lines
427 B
Bash
Executable file

#!/bin/bash
set -e -x
ARCH=`uname -p`
echo "arch=$ARCH"
for V in cp36-cp36m cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
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
$PYBIN/python setup.py bdist_wheel -p manylinux1_${ARCH}
done