Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wiseplat
GitHub Repository: wiseplat/python-code
Path: blob/master/ invest-robot-contest_TinkoffBotTwitch-main/venv/lib/python3.8/site-packages/numpy/version.py
7756 views
1
from __future__ import annotations
2
3
from ._version import get_versions
4
5
__ALL__ = ['version', '__version__', 'full_version', 'git_revision', 'release']
6
7
vinfo: dict[str, str] = get_versions()
8
version = vinfo["version"]
9
__version__ = vinfo.get("closest-tag", vinfo["version"])
10
full_version = vinfo['version']
11
git_revision = vinfo['full-revisionid']
12
release = 'dev0' not in version and '+' not in version
13
short_version = vinfo['version'].split("+")[0]
14
15
del get_versions, vinfo
16
17