You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
371 B
13 lines
371 B
from ._version import get_versions
|
|
|
|
__ALL__ = ['version', 'full_version', 'git_revision', 'release']
|
|
|
|
vinfo = get_versions()
|
|
version: str = vinfo["version"]
|
|
full_version: str = vinfo['version']
|
|
git_revision: str = vinfo['full-revisionid']
|
|
release = 'dev0' not in version and '+' not in version
|
|
short_version: str = vinfo['version'].split("+")[0]
|
|
|
|
del get_versions, vinfo
|