25 lines
476 B
Python
25 lines
476 B
Python
import sys
|
|
from typing import Final, TypeAlias
|
|
|
|
if sys.version_info >= (3, 11):
|
|
from typing import LiteralString
|
|
else:
|
|
LiteralString: TypeAlias = str
|
|
|
|
__all__ = (
|
|
'__version__',
|
|
'full_version',
|
|
'git_revision',
|
|
'release',
|
|
'short_version',
|
|
'version',
|
|
)
|
|
|
|
version: Final[LiteralString]
|
|
__version__: Final[LiteralString]
|
|
full_version: Final[LiteralString]
|
|
|
|
git_revision: Final[LiteralString]
|
|
release: Final[bool]
|
|
short_version: Final[LiteralString]
|