Initial commit

This commit is contained in:
Jensun Ravichandran
2021-04-21 13:13:28 +02:00
commit c8b7ea2e97
5 changed files with 219 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
from importlib.metadata import version, PackageNotFoundError
VERSION_FALLBACK = "uninstalled_version"
try:
__version__ = version(__name__.replace(".", "-"))
except PackageNotFoundError:
__version__ = VERSION_FALLBACK
pass