mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-13 02:55:22 +08:00
9 lines
333 B
Python
9 lines
333 B
Python
"""`tqdm` version detector. Precedence: installed dist, git, 'UNKNOWN'."""
|
|
try:
|
|
from ._dist_ver import __version__
|
|
except ImportError:
|
|
try:
|
|
from setuptools_scm import get_version
|
|
__version__ = get_version(root='..', relative_to=__file__)
|
|
except (ImportError, LookupError):
|
|
__version__ = "UNKNOWN"
|