haystack/ui/ui/__about__.py

11 lines
221 B
Python
Raw Normal View History

import logging
from pathlib import Path
__version__ = "0.0.0"
try:
__version__ = open(Path(__file__).parent.parent / "VERSION.txt", "r").read()
except Exception as e:
logging.exception("No VERSION.txt found!")