Skip to content

Commit

Permalink
pin pyinstaller version till they fix an icon bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Shotgunosine committed Nov 6, 2024
1 parent 90ce0cd commit 8c53bd1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build_executables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,17 @@ jobs:
- name: Install dependencies
run: |
export PATH=/Users/runner/hostedtoolcache/Python/3.10.11/arm64/bin:$PATH
python3 -m pip install --platform macosx_10_9_universal2 --upgrade pip
python3 -m pip install --platform macosx_10_9_universal2 -r requirements.txt
mkdir python_packages
python3 -m pip install --upgrade pip
python3 -m pip install --target $PWD/python_packages --platform macosx_10_13_universal2 -r requirements.txt
export PYTHON_PATH=$PWD/python_packages:$PYTHONPATH
- name: Build executable with PyInstaller
run: |
export PATH=/Users/runner/hostedtoolcache/Python/3.10.11/arm64/bin:$PATH
export PYTHON_PATH=$PWD/python_packages:$PYTHONPATH
cd package
python3 -m PyInstaller --noconfirm cogmood_mac.spec
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-e ./smile
pyinstaller
pyinstaller <= 6.9.0
pefile

0 comments on commit 8c53bd1

Please sign in to comment.