This commit is contained in:
Kyle Altendorf 2022-04-07 19:45:27 -04:00
parent f29a2a73b5
commit 88090f689f
No known key found for this signature in database
GPG Key ID: 5715D880FF005192
2 changed files with 8 additions and 1 deletions

View File

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

View File

@ -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 = []