Change version to v1.3.0

This commit is contained in:
tzutalin 2017-05-03 20:03:14 +08:00
parent b365c103ba
commit fffc99047b
6 changed files with 19 additions and 8 deletions

View File

@ -2,6 +2,13 @@
History History
======= =======
1.3.0 (2017-04-22)
------------------
* Fix issues
* Add difficult tag
* Create new files for pypi
1.2.3 (2017-04-22) 1.2.3 (2017-04-22)
------------------ ------------------

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: utf8 -*- # -*- coding: utf8 -*-
import _init_path
import codecs import codecs
import os.path import os.path
import re import re
@ -27,7 +26,9 @@ except ImportError:
import resources import resources
# Add internal libs # Add internal libs
sys.path.insert(0, 'libs') dir_name = os.path.abspath(os.path.dirname(__file__))
libs_path = os.path.join(dir_name, 'libs')
sys.path.insert(0, libs_path)
from lib import struct, newAction, newIcon, addActions, fmtShortcut from lib import struct, newAction, newIcon, addActions, fmtShortcut
from shape import Shape, DEFAULT_LINE_COLOR, DEFAULT_FILL_COLOR from shape import Shape, DEFAULT_LINE_COLOR, DEFAULT_FILL_COLOR
from canvas import Canvas from canvas import Canvas

0
libs/__init__.py Normal file
View File

View File

@ -1,5 +1,5 @@
[bumpversion] [bumpversion]
current_version = 1.2.4 current_version = 1.3.0
commit = True commit = True
tag = True tag = True

View File

@ -21,17 +21,16 @@ test_requirements = [
setup( setup(
name='labelImg', name='labelImg',
version='1.2.4', version='1.3.0',
description="LabelImg is a graphical image annotation tool and label object bounding boxes in images", description="LabelImg is a graphical image annotation tool and label object bounding boxes in images",
long_description=readme + '\n\n' + history, long_description=readme + '\n\n' + history,
author="TzuTa Lin", author="TzuTa Lin",
author_email='tzu.ta.lin@gmail.com', author_email='tzu.ta.lin@gmail.com',
url='https://github.com/tzutalin/labelImg', url='https://github.com/tzutalin/labelImg',
packages=[ packages=[
'labelImg', 'labelImg', 'labelImg.libs'
], ],
package_dir={'labelImg': package_dir={'labelImg': '.'},
'.'},
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [
'labelImg=labelImg.labelImg:main' 'labelImg=labelImg.labelImg:main'

View File

@ -1,7 +1,11 @@
import _init_path
from unittest import TestCase from unittest import TestCase
import sys
import os
dir_name = os.path.abspath(os.path.dirname(__file__))
libs_path = os.path.join(dir_name, '..', 'libs')
sys.path.insert(0, libs_path)
from pascal_voc_io import PascalVocWriter from pascal_voc_io import PascalVocWriter
from pascal_voc_io import PascalVocReader from pascal_voc_io import PascalVocReader