mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-20 16:08:51 +03:00
make python -m chia
work (#14785)
<!-- Merging Requirements: - Please give your PR a title that is release-note friendly - In order to be merged, you must add the most appropriate category Label (Added, Changed, Fixed) to your PR --> <!-- Explain why this is an improvement (Does this add missing functionality, improve performance, or reduce complexity?) --> ### Purpose: Make it so `python -m chia` works. This makes it easier to subprocess such as `subprocess.run([sys.executable, "-m", "chia"], check=True)` when we need to. <!-- Does this PR introduce a breaking change? --> ### Current Behavior: ### New Behavior: <!-- As we aim for complete code coverage, please include details regarding unit, and regression tests --> ### Testing Notes: <!-- Attach any visual examples, or supporting evidence (attach any .gif/video/console output below) -->
This commit is contained in:
commit
b8fa374150
5
chia/__main__.py
Normal file
5
chia/__main__.py
Normal file
@ -0,0 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from chia.cmds.chia import main
|
||||
|
||||
main()
|
Loading…
Reference in New Issue
Block a user