mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-11 18:58:59 +03:00
Use src.PYINSTALLER_SPEC_PATH
in build scripts.
This commit is contained in:
parent
7a970b8fe7
commit
986b103aba
@ -23,7 +23,8 @@ mkdir dist
|
||||
|
||||
echo "Create executables with pyinstaller"
|
||||
pip install pyinstaller==4.2
|
||||
sudo pyinstaller --log-level=INFO daemon.spec
|
||||
SPEC_FILE=$(python -c 'import src; print(src.PYINSTALLER_SPEC_PATH)')
|
||||
pyinstaller --log-level=INFO "$SPEC_FILE"
|
||||
cp -r dist/daemon ../chia-blockchain-gui
|
||||
cd .. || exit
|
||||
cd chia-blockchain-gui || exit
|
||||
|
@ -66,7 +66,8 @@ pip install --no-index --find-links=.\win_build\ chia-blockchain
|
||||
Write-Output " ---"
|
||||
Write-Output "Use pyinstaller to create chia .exe's"
|
||||
Write-Output " ---"
|
||||
pyinstaller --log-level INFO daemon.spec
|
||||
$SPEC_FILE = (python -c 'import src; print(src.PYINSTALLER_SPEC_PATH)') -join "`n"
|
||||
pyinstaller --log-level INFO $SPEC_FILE
|
||||
|
||||
Write-Output " ---"
|
||||
Write-Output "Copy chia executables to chia-blockchain-gui\"
|
||||
|
Loading…
Reference in New Issue
Block a user