m2m模型翻译
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.

12 lines
371 B

6 months ago
  1. from ._version import get_versions
  2. __ALL__ = ['version', 'full_version', 'git_revision', 'release']
  3. vinfo = get_versions()
  4. version: str = vinfo["version"]
  5. full_version: str = vinfo['version']
  6. git_revision: str = vinfo['full-revisionid']
  7. release = 'dev0' not in version and '+' not in version
  8. short_version: str = vinfo['version'].split("+")[0]
  9. del get_versions, vinfo