prototorch_models/prototorch/models/__init__.py
Alexander Engelsberger c4c51a16fe Automatic Formating.
2021-04-23 17:27:47 +02:00

9 lines
235 B
Python

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