2016-10-17 15:24:49 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -e -x
|
|
|
|
|
|
|
|
ARCH=`uname -p`
|
|
|
|
echo "arch=$ARCH"
|
|
|
|
|
2018-09-26 12:49:01 +00:00
|
|
|
for V in cp37-cp37m cp36-cp36m cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
|
2016-10-17 15:24:49 +00:00
|
|
|
PYBIN=/opt/python/$V/bin
|
2018-01-09 16:11:36 +00:00
|
|
|
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
|
2016-10-17 15:24:49 +00:00
|
|
|
$PYBIN/python setup.py bdist_wheel -p manylinux1_${ARCH}
|
|
|
|
done
|