From 6186acd575c9c92553304d4ec181539ad330f601 Mon Sep 17 00:00:00 2001 From: tzutalin Date: Wed, 9 Aug 2017 14:02:30 +0800 Subject: [PATCH] Update version to v1.4.3 --- HISTORY.rst | 12 ++++++++++-- build-tools/build-for-pypi.sh | 6 ++++-- setup.cfg | 2 +- setup.py | 2 +- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index c5bdfafc..602fced3 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,14 +1,22 @@ ======= History ======= -1.4.0 (2017-0-7) + +1.4.3 (2017-08-09) +------------------ + +* Refactor setting +* Fix the issues + + +1.4.0 (2017-07-07) ------------------ * Add feature: auto saving * Add feature: single class mode * Fix the issues -1.3.4 (2017-07-7) +1.3.4 (2017-07-07) ------------------ * Fix issues and improve zoom-in diff --git a/build-tools/build-for-pypi.sh b/build-tools/build-for-pypi.sh index 2d0c1d71..d5ad5c7c 100755 --- a/build-tools/build-for-pypi.sh +++ b/build-tools/build-for-pypi.sh @@ -1,9 +1,9 @@ #!/bin/sh # Packaging and Release -docker run --workdir=$(pwd)/ --volume="/home/$USER:/home/$USER" tzutalin/py2qt4 /bin/sh -c 'sudo python setup.py sdist;sudo python setup.py install' +docker run --workdir=$(pwd)/ --volume="/home/$USER:/home/$USER" tzutalin/py2qt4 /bin/sh -c 'make qt4py2; make test;sudo python setup.py sdist;sudo python setup.py install' while true; do - read -p "Do you wish to deploy this to PyPI?" yn + read -p "Do you wish to deploy this to PyPI(twine upload dist/* or pip install dist/*)?" yn case $yn in [Yy]* ) docker run -it --rm --workdir=$(pwd)/ --volume="/home/$USER:/home/$USER" tzutalin/py2qt4; break;; [Nn]* ) exit;; @@ -13,3 +13,5 @@ done # python setup.py register # python setup.py sdist upload # Net pypi: twine upload dist/* + +# Test before upladoing: pip install dist/labelImg.tar.gz diff --git a/setup.cfg b/setup.cfg index 45ce14c6..28b76b95 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.4.0 +current_version = 1.4.3 commit = True tag = True diff --git a/setup.py b/setup.py index 25718841..e4f9b416 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ test_requirements = [ setup( name='labelImg', - version='1.4.0', + version='1.4.3', description="LabelImg is a graphical image annotation tool and label object bounding boxes in images", long_description=readme + '\n\n' + history, author="TzuTa Lin",