Skip to content

Commit

Permalink
fix(ver): use latest macos and link libs
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnec committed Mar 19, 2024
1 parent b4ec074 commit 53a71a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gh_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-10.15]
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.9']
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 4 additions & 0 deletions plenopticam/scripts/bundling/pyinst2app_gh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ sp_path=$(python3 -c "import sysconfig; print(sysconfig.get_path('purelib'))")
echo "$sp_path"/imageio/
echo $(find /usr /opt /lib /lib64 /usr/local -type f -name "libtk*.dylib" 2>/dev/null)

# link tk/tcl libs
ln -s /usr/local/Cellar/tcl-tk/$version/lib/libtcl8.6.dylib /usr/local/lib/libtcl8.6.dylib
ln -s /usr/local/Cellar/tcl-tk/$version/lib/libtk8.6.dylib /usr/local/lib/libtk8.6.dylib

# run pyinstaller with provided options
pyinstaller plenopticam/gui/top_level.py \
--onefile \
Expand Down

0 comments on commit 53a71a5

Please sign in to comment.