From cafbaf29768708bd91107241fc6393d50baf10e7 Mon Sep 17 00:00:00 2001 From: PyYoshi Date: Mon, 17 Oct 2016 15:32:41 +0900 Subject: [PATCH] update make commands --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c58390e..c6ec7dc 100644 --- a/Makefile +++ b/Makefile @@ -2,4 +2,14 @@ test: python setup.py test clean: - $(RM) -r build dist src/cchardet/*.cpp src/cchardet.egg-info + $(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 + +sdist: clean + python setup.py sdist + +pip: + pip install -U pip cython tox nose chardet + +twine: + twine upload dist/*.whl + twine upload dist/*.tar.gz