feat: display version, gui and env location in about #93

Merged
perl_d merged 1 commits from feat/display_path_env into master 2026-07-07 17:03:58 +02:00
+18
View File
@@ -0,0 +1,18 @@
import importlib
import sys
def about_text():
from aare.gui import gui
try:
version = importlib.metadata.version("aaredaq")
except Exception:
version = "Not found - package is not installed into the environment."
return f"""Aare Macromolecular Crystallography GUI
Copyright: Paul Scherrer Institute 2023-2026
---
Version: {version}
GUI file: {gui.__file__}
Interpreter: {sys.executable}
"""