cChardet/dockerfiles/buildwheel.sh

12 lines
304 B
Bash
Raw Normal View History

2016-10-17 15:24:49 +00:00
#!/bin/bash
set -e -x
ARCH=`uname -p`
echo "arch=$ARCH"
2017-01-08 03:06:33 +00:00
for V in cp36-cp36m cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
2016-10-17 15:24:49 +00:00
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 -p manylinux1_${ARCH}
done