build: adding _version.py, small build config change, and doc note

This commit is contained in:
Mathew Guest
2024-11-17 04:50:45 -07:00
parent 55a9796806
commit 470514ba4b
3 changed files with 23 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
# file generated by setuptools_scm
# don't change, don't track in version control
TYPE_CHECKING = False
if TYPE_CHECKING:
from typing import Tuple, Union
VERSION_TUPLE = Tuple[Union[int, str], ...]
else:
VERSION_TUPLE = object
version: str
__version__: str
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE
__version__ = version = "0.2.2"
__version_tuple__ = version_tuple = (0, 2, 2)