mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2025-01-08 18:34:27 +03:00
3b084a165b
* configure isort to add the future annotations import * apply the new isort setting * remove type ignores for new mypy (#13539) https://pypi.org/project/mypy/0.981/ * another
12 lines
347 B
Python
12 lines
347 B
Python
from __future__ import annotations
|
|
|
|
from pkg_resources import DistributionNotFound, get_distribution, resource_filename
|
|
|
|
try:
|
|
__version__ = get_distribution("chia-blockchain").version
|
|
except DistributionNotFound:
|
|
# package is not installed
|
|
__version__ = "unknown"
|
|
|
|
PYINSTALLER_SPEC_PATH = resource_filename("chia", "pyinstaller.spec")
|