e9154f9694
See: [Maintenance releases - PEP 373 -- Python 2.7 Release Schedule | Python.org](https://www.python.org/dev/peps/pep-0373/#maintenance-releases)
12 lines
414 B
Bash
Executable file
12 lines
414 B
Bash
Executable file
#!/bin/bash
|
|
set -e -x
|
|
|
|
ARCH=`uname -p`
|
|
echo "arch=$ARCH"
|
|
|
|
for V in cp38-cp38 cp37-cp37m cp36-cp36m cp35-cp35m; 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
|