cChardet/Makefile

24 lines
675 B
Makefile
Raw Normal View History

2016-10-17 03:19:24 +00:00
test:
2016-10-17 14:05:20 +00:00
python setup.py nosetests
2016-10-17 03:19:24 +00:00
clean:
2016-10-17 06:32:41 +00: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 03:17:58 +00:00
sdist:
2016-10-17 06:32:41 +00:00
python setup.py sdist
pip:
pip install -U pip cython tox nose chardet
twine:
2017-03-29 04:28:40 +00:00
twine upload dist/*.whl dist/*.tar.gz
2016-10-17 14:21:48 +00:00
install: clean
python setup.py install
2016-10-17 15:24:49 +00:00
build-manylinux1-wheel:
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/manylinux1_x86_64 bash dockerfiles/buildwheel.sh
2017-01-08 03:17:58 +00:00
build: clean pip test sdist build-manylinux1-wheel