mirror of
https://github.com/nwg-piotr/nwg-shell.git
synced 2024-09-11 22:27:23 +03:00
10 lines
202 B
Python
10 lines
202 B
Python
try:
|
|
from importlib import metadata
|
|
except ImportError:
|
|
import importlib_metadata as metadata
|
|
|
|
try:
|
|
__version__ = metadata.version("nwg-shell")
|
|
except Exception:
|
|
__version__ = "unknown"
|