__init__.py 604 B

123456789101112131415161718192021222324252627
  1. # flake8: noqa
  2. import logging
  3. import sys
  4. from qtpy import QT_VERSION
  5. __appname__ = "labelme"
  6. # Semantic Versioning 2.0.0: https://semver.org/
  7. # 1. MAJOR version when you make incompatible API changes;
  8. # 2. MINOR version when you add functionality in a backwards-compatible manner;
  9. # 3. PATCH version when you make backwards-compatible bug fixes.
  10. __version__ = "5.2.0"
  11. QT4 = QT_VERSION[0] == "4"
  12. QT5 = QT_VERSION[0] == "5"
  13. del QT_VERSION
  14. PY2 = sys.version[0] == "2"
  15. PY3 = sys.version[0] == "3"
  16. del sys
  17. from labelme.label_file import LabelFile
  18. from labelme import testing
  19. from labelme import utils