version.py 335 Bytes
Newer Older
1
2
# SPDX-License-Identifier: Apache-2.0

3
try:
4
    from ._version import __version__, __version_tuple__
5
except Exception as e:
6
7
    import warnings

8
9
10
11
    warnings.warn(f"Failed to read commit hash:\n{e}",
                  RuntimeWarning,
                  stacklevel=2)

12
13
    __version__ = "dev"
    __version_tuple__ = (0, 0, __version__)