Skip to content

Commit

Permalink
Pyinstaller 4.5 (Chia-Network#7915)
Browse files Browse the repository at this point in the history
* Pyinstaller 4.5 for M1

* Update linux builds to 4.5

* Update windows to pyinstaller 4.5

* Pyinstaller 4.5 for intel mac
  • Loading branch information
cmmarslender authored Aug 2, 2021
1 parent b2fdeb2 commit f5bba8f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 14 deletions.
2 changes: 1 addition & 1 deletion build_scripts/build_linux_deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ rm -rf dist
mkdir dist

echo "Create executables with pyinstaller"
pip install pyinstaller==4.2
pip install pyinstaller==4.5
SPEC_FILE=$(python -c 'import chia; print(chia.PYINSTALLER_SPEC_PATH)')
pyinstaller --log-level=INFO "$SPEC_FILE"
LAST_EXIT_CODE=$?
Expand Down
2 changes: 1 addition & 1 deletion build_scripts/build_linux_rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ rm -rf dist
mkdir dist

echo "Create executables with pyinstaller"
pip install pyinstaller==4.4
pip install pyinstaller==4.5
SPEC_FILE=$(python -c 'import chia; print(chia.PYINSTALLER_SPEC_PATH)')
pyinstaller --log-level=INFO "$SPEC_FILE"
LAST_EXIT_CODE=$?
Expand Down
2 changes: 1 addition & 1 deletion build_scripts/build_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ sudo rm -rf dist
mkdir dist

echo "Create executables with pyinstaller"
pip install pyinstaller==4.2
pip install pyinstaller==4.5
SPEC_FILE=$(python -c 'import chia; print(chia.PYINSTALLER_SPEC_PATH)')
pyinstaller --log-level=INFO "$SPEC_FILE"
LAST_EXIT_CODE=$?
Expand Down
11 changes: 1 addition & 10 deletions build_scripts/build_macos_m1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,7 @@ sudo rm -rf dist
mkdir dist

echo "Install pyinstaller and build bootloaders for M1"
#pip install pyinstaller==4.3
# Once there is a 4.4, we can clone that tag and build that
# M1 support isn't in a tag yet.
# Alternatively, if the m1 bootloaders are distributed with pip in the future, can just use those
git clone https://github.com/pyinstaller/pyinstaller.git
cd pyinstaller/bootloader
git checkout ab81fe39b11bc12216f86e85fb899ff13379c069
python ./waf all
pip install ..
cd ../..
pip install pyinstaller==4.5

echo "Create executables with pyinstaller"
SPEC_FILE=$(python -c 'import chia; print(chia.PYINSTALLER_SPEC_PATH)')
Expand Down
2 changes: 1 addition & 1 deletion build_scripts/build_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ python -m venv venv
python -m pip install --upgrade pip
pip install wheel pep517
pip install pywin32
pip install pyinstaller==4.2
pip install pyinstaller==4.5
pip install setuptools_scm

Write-Output " ---"
Expand Down

0 comments on commit f5bba8f

Please sign in to comment.