From 53a71a5cafeca50a5f94046b755fe133d5bcd41b Mon Sep 17 00:00:00 2001 From: hahnec Date: Tue, 19 Mar 2024 15:32:28 +0100 Subject: [PATCH] fix(ver): use latest macos and link libs --- .github/workflows/gh_actions.yml | 2 +- plenopticam/scripts/bundling/pyinst2app_gh.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh_actions.yml b/.github/workflows/gh_actions.yml index 055bfb6..7501c21 100644 --- a/.github/workflows/gh_actions.yml +++ b/.github/workflows/gh_actions.yml @@ -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 diff --git a/plenopticam/scripts/bundling/pyinst2app_gh.sh b/plenopticam/scripts/bundling/pyinst2app_gh.sh index ab4aeec..6384a42 100755 --- a/plenopticam/scripts/bundling/pyinst2app_gh.sh +++ b/plenopticam/scripts/bundling/pyinst2app_gh.sh @@ -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 \