__init__.py 604 字节
Newer Older
1 2
# flake8: noqa

K
Kentaro Wada 已提交
3
import logging
K
Kentaro Wada 已提交
4 5
import sys

K
Kentaro Wada 已提交
6
from qtpy import QT_VERSION
K
Kentaro Wada 已提交
7 8


K
Kentaro Wada 已提交
9
__appname__ = "labelme"
K
Kentaro Wada 已提交
10

K
Kentaro Wada 已提交
11 12 13 14
# Semantic Versioning 2.0.0: https://semver.org/
# 1. MAJOR version when you make incompatible API changes;
# 2. MINOR version when you add functionality in a backwards-compatible manner;
# 3. PATCH version when you make backwards-compatible bug fixes.
K
4.5.3  
Kentaro Wada 已提交
15
__version__ = "4.5.3"
K
Kentaro Wada 已提交
16

K
Kentaro Wada 已提交
17 18
QT4 = QT_VERSION[0] == "4"
QT5 = QT_VERSION[0] == "5"
K
Kentaro Wada 已提交
19 20
del QT_VERSION

K
Kentaro Wada 已提交
21 22
PY2 = sys.version[0] == "2"
PY3 = sys.version[0] == "3"
K
Kentaro Wada 已提交
23 24
del sys

25
from labelme.label_file import LabelFile
K
Kentaro Wada 已提交
26
from labelme import testing
27
from labelme import utils