alessandro trinca tornidor
feat: try moving lisa-on-cuda code within the project
8ced4d2
raw
history blame
259 Bytes
import importlib.metadata
try:
__version__ = importlib.metadata.version(__package__ or __name__)
except importlib.metadata.PackageNotFoundError or ImportError as e:
print(f"metadata::e: {type(e)}, {e}: package installed?")
__version__ = "1.0.0"