diff options
Diffstat (limited to 'venv/lib/python3.9/site-packages/numpy/version.py')
-rw-r--r-- | venv/lib/python3.9/site-packages/numpy/version.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/venv/lib/python3.9/site-packages/numpy/version.py b/venv/lib/python3.9/site-packages/numpy/version.py new file mode 100644 index 00000000..d5657d0d --- /dev/null +++ b/venv/lib/python3.9/site-packages/numpy/version.py @@ -0,0 +1,15 @@ +from __future__ import annotations + +from ._version import get_versions + +__ALL__ = ['version', '__version__', 'full_version', 'git_revision', 'release'] + +vinfo: dict[str, str] = get_versions() +version = vinfo["version"] +__version__ = vinfo.get("closest-tag", vinfo["version"]) +full_version = vinfo['version'] +git_revision = vinfo['full-revisionid'] +release = 'dev0' not in version and '+' not in version +short_version = vinfo['version'].split("+")[0] + +del get_versions, vinfo |