mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-11 10:56:14 +03:00
10 lines
257 B
Python
10 lines
257 B
Python
from __future__ import annotations
|
|
|
|
from pkg_resources import DistributionNotFound, get_distribution
|
|
|
|
try:
|
|
__version__ = get_distribution("chia-blockchain").version
|
|
except DistributionNotFound:
|
|
# package is not installed
|
|
__version__ = "unknown"
|