moonstream/moonstreamdb-v3/moonstreamdbv3/version.py

12 wiersze
234 B
Python

2024-03-14 13:05:07 +00:00
import os
VERSION = "UNKNOWN"
try:
PATH = os.path.abspath(os.path.dirname(__file__))
VERSION_FILE = os.path.join(PATH, "version.txt")
with open(VERSION_FILE) as ifp:
VERSION = ifp.read().strip()
except:
2024-03-21 15:24:59 +00:00
pass