cChardet/Makefile

26 lines
814 B
Makefile
Raw Normal View History

2016-10-17 11:19:24 +08:00
test:
2016-10-17 22:05:20 +08:00
python setup.py nosetests
2016-10-17 11:19:24 +08:00
clean:
2016-10-17 14:32:41 +08:00
$(RM) -r build dist src/cchardet/__pycache__ src/cchardet/*.cpp src/cchardet/*.pyc src/cchardet/*.so src/cchardet.egg-info src/tests/__pycache__ src/tests/*.pyc
2017-01-08 11:17:58 +08:00
sdist:
2017-04-05 11:00:46 +08:00
python setup.py sdist --formats=gztar
2016-10-17 14:32:41 +08:00
pip:
pip install -r requirements-dev.txt
2016-10-17 14:32:41 +08:00
twine:
2017-04-05 11:00:46 +08:00
twine upload dist/cchardet-*.whl dist/cchardet-*.tar.gz
2016-10-17 22:21:48 +08:00
install: clean
python setup.py install
2016-10-17 23:24:49 +08:00
2020-10-27 16:09:47 +08:00
build-wheels-on-manylinux2014:
docker pull quay.io/pypa/manylinux2014_i686
docker pull quay.io/pypa/manylinux2014_x86_64
docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux2014_i686 bash dockerfiles/buildwheel.sh
docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux2014_x86_64 bash dockerfiles/buildwheel.sh
2017-01-08 11:17:58 +08:00
2020-10-27 16:09:47 +08:00
build: clean pip test sdist build-wheels-on-manylinux2014