From f0119249cf3cf04e7e6191b61d932d2f400352be Mon Sep 17 00:00:00 2001 From: Zev Lee <60147316+zevlee@users.noreply.github.com> Date: Fri, 29 Jul 2022 05:41:54 -0500 Subject: [PATCH] Update build scripts PyInstaller bootloader needs to be built in order to use the development version --- linux/build.sh | 2 +- macos/build.sh | 2 +- windows/bootstrap.sh | 2 +- windows/build.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/linux/build.sh b/linux/build.sh index 747b92b..8243c20 100755 --- a/linux/build.sh +++ b/linux/build.sh @@ -7,7 +7,7 @@ echo "Setting up virtual environment..." python3 -m venv --system-site-packages venv . venv/bin/activate python3 -m pip install --upgrade pip -python3 -m pip install -r ../requirements.txt +PYINSTALLER_COMPILE_BOOTLOADER=1 PYI_STATIC_ZLIB=1 python3 -m pip install -r ../requirements.txt echo "Running pyinstaller..." diff --git a/macos/build.sh b/macos/build.sh index f0a06b8..0a05ecc 100644 --- a/macos/build.sh +++ b/macos/build.sh @@ -8,7 +8,7 @@ echo "Setting up virtual environment..." /usr/local/bin/python3 -m venv --system-site-packages venv . venv/bin/activate python3 -m pip install --upgrade pip -python3 -m pip install -r ../requirements.txt +PYINSTALLER_COMPILE_BOOTLOADER=1 PYI_STATIC_ZLIB=1 python3 -m pip install -r ../requirements.txt echo "Preparing app..." diff --git a/windows/bootstrap.sh b/windows/bootstrap.sh index 2bbc74a..93c7ff4 100644 --- a/windows/bootstrap.sh +++ b/windows/bootstrap.sh @@ -2,6 +2,6 @@ # This script is meant to be run through MinGW -pacman -S --noconfirm mingw-w64-x86_64-gtk4 mingw-w64-x86_64-python-pip mingw-w64-x86_64-python3-gobject mingw-w64-x86_64-libadwaita mingw-w64-x86_64-nsis mingw-w64-x86_64-nsis-nsisunz zip unzip +pacman -S --noconfirm mingw-w64-x86_64-gtk4 mingw-w64-x86_64-python-pip mingw-w64-x86_64-python3-gobject mingw-w64-x86_64-libadwaita mingw-w64-x86_64-nsis mingw-w64-x86_64-nsis-nsisunz mingw-w64-x86_64-gcc zip unzip echo "Done" diff --git a/windows/build.sh b/windows/build.sh index cd05b1d..a66b6db 100644 --- a/windows/build.sh +++ b/windows/build.sh @@ -9,7 +9,7 @@ echo "Setting up virtual environment..." python3 -m venv --system-site-packages venv . venv/bin/activate python3 -m pip install --upgrade pip -python3 -m pip install -r ../requirements.txt +PYINSTALLER_COMPILE_BOOTLOADER=1 PYI_STATIC_ZLIB=1 python3 -m pip install -r ../requirements.txt echo "Running pyinstaller..."