fix python 3.8 build error on manylinux

This commit is contained in:
PyYoshi 2019-11-18 14:44:20 +09:00
parent 1753e9122e
commit 9dcfaa5fed
No known key found for this signature in database
GPG key ID: 146D52F7C000C2F0
2 changed files with 5 additions and 5 deletions

View file

@ -17,9 +17,9 @@ install: clean
python setup.py install python setup.py install
build-manylinux1-wheel: build-manylinux1-wheel:
docker pull quay.io/pypa/manylinux1_i686 docker pull quay.io/pypa/manylinux2010_i686
docker pull quay.io/pypa/manylinux1_x86_64 docker pull quay.io/pypa/manylinux2010_x86_64
docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux1_i686 bash dockerfiles/buildwheel.sh docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux2010_i686 bash dockerfiles/buildwheel.sh
docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux1_x86_64 bash dockerfiles/buildwheel.sh docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux2010_x86_64 bash dockerfiles/buildwheel.sh
build: clean pip test sdist build-manylinux1-wheel build: clean pip test sdist build-manylinux1-wheel

View file

@ -4,7 +4,7 @@ set -e -x
ARCH=`uname -p` ARCH=`uname -p`
echo "arch=$ARCH" echo "arch=$ARCH"
for V in cp38-cp38m cp37-cp37m cp36-cp36m cp35-cp35m cp27-cp27m cp27-cp27mu; do for V in cp38-cp38 cp37-cp37m cp36-cp36m cp35-cp35m cp27-cp27m cp27-cp27mu; do
PYBIN=/opt/python/$V/bin 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 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/pip install -r requirements-dev.txt