mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-14 19:54:38 +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"
|