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:
|
2017-04-05 03:00:46 +00:00
|
|
|
python setup.py sdist --formats=gztar
|
2016-10-17 06:32:41 +00:00
|
|
|
|
|
|
|
pip:
|
2018-01-09 16:11:36 +00:00
|
|
|
pip install -r requirements-dev.txt
|
2016-10-17 06:32:41 +00:00
|
|
|
|
|
|
|
twine:
|
2017-04-05 03:00:46 +00:00
|
|
|
twine upload dist/cchardet-*.whl dist/cchardet-*.tar.gz
|
2016-10-17 14:21:48 +00:00
|
|
|
|
|
|
|
install: clean
|
|
|
|
python setup.py install
|
2016-10-17 15:24:49 +00:00
|
|
|
|
2020-10-27 08:09:47 +00: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 03:17:58 +00:00
|
|
|
|
2020-10-27 08:09:47 +00:00
|
|
|
build: clean pip test sdist build-wheels-on-manylinux2014
|