mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-11 18:58:59 +03:00
debug
This commit is contained in:
parent
f29a2a73b5
commit
88090f689f
@ -33,8 +33,11 @@ Write-Output " ---"
|
||||
Write-Output "Use pyinstaller to create chia .exe's"
|
||||
Write-Output " ---"
|
||||
$SPEC_FILE = (python -c 'import chia; print(chia.PYINSTALLER_SPEC_PATH)') -join "`n"
|
||||
Write-Output " ==== start SPEC_FILE"
|
||||
Write-Output "$SPEC_FILE"
|
||||
Write-Output " ==== end SPEC_FILE"
|
||||
Get-Location
|
||||
pyinstaller --log-level INFO $SPEC_FILE
|
||||
|
||||
Write-Output " ---"
|
||||
Write-Output "Copy chia executables to chia-blockchain-gui\"
|
||||
Write-Output " ---"
|
||||
|
@ -11,6 +11,7 @@ THIS_IS_WINDOWS = platform.system().lower().startswith("win")
|
||||
THIS_IS_MAC = platform.system().lower().startswith("darwin")
|
||||
|
||||
ROOT = pathlib.Path(importlib.import_module("chia").__file__).absolute().parent.parent
|
||||
print(f" ==== {ROOT=}")
|
||||
|
||||
|
||||
def solve_name_collision_problem(analysis):
|
||||
@ -99,6 +100,7 @@ if THIS_IS_WINDOWS:
|
||||
if THIS_IS_WINDOWS:
|
||||
chia_mod = importlib.import_module("chia")
|
||||
dll_paths = ROOT / "*.dll"
|
||||
print(f" ==== {dll_paths=}")
|
||||
|
||||
binaries = [
|
||||
(
|
||||
@ -137,6 +139,8 @@ datas.append((f"{ROOT}/chia/ssl/*", "chia/ssl"))
|
||||
datas.append((f"{ROOT}/mozilla-ca/*", "mozilla-ca"))
|
||||
datas.append(version_data)
|
||||
|
||||
print(f" ==== {datas=}")
|
||||
|
||||
pathex = []
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user