Skip to content

Commit 42cdb95

Browse files
committed
display proper version
1 parent c6c9fd1 commit 42cdb95

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

picasso_workflow/gui.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@
2727

2828

2929
logger = logging.getLogger(__name__)
30-
__GUIVERSION__ = "0.1.0"
30+
try:
31+
from picasso_workflow._version import __version__ as __GUIVERSION__
32+
except ImportError:
33+
__GUIVERSION__ = "unknown"
3134

3235

3336
class ModuleDescriptor(util.AbstractModuleCollection):

0 commit comments

Comments
 (0)