chia-blockchain/chia/__init__.py
Kyle Altendorf 50857caf8c
make multiprocessing start method configurable (#10528)
* make multiprocessing start method configurable

* forkserver

* corrections

* fixup

* optional

* more optional

* stop attempting anchors in the yaml

* rework config handling

* comment
2022-03-03 10:27:36 -08:00

10 lines
311 B
Python

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")