version.py 296 Bytes
Newer Older
1
try:
2
    from ._version import __version__, __version_tuple__
3
except Exception as e:
4
5
    import warnings

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

10
11
    __version__ = "dev"
    __version_tuple__ = (0, 0, __version__)