From fe0149fa80c0cf22f983c612cd25481e30d2ddd3 Mon Sep 17 00:00:00 2001 From: hahnec Date: Tue, 19 Mar 2024 16:27:27 +0100 Subject: [PATCH] fix(ver): downgrade to older python version --- .github/workflows/gh_actions.yml | 6 +++--- plenopticam/scripts/bundling/pyinst2app_gh.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gh_actions.yml b/.github/workflows/gh_actions.yml index 7501c21..837f506 100644 --- a/.github/workflows/gh_actions.yml +++ b/.github/workflows/gh_actions.yml @@ -159,13 +159,13 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.9'] + python-version: ['3.6.5'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v2 - name: Install Python 3 uses: actions/setup-python@v1 with: - python-version: 3.9 + python-version: 3.6.5 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/plenopticam/scripts/bundling/pyinst2app_gh.sh b/plenopticam/scripts/bundling/pyinst2app_gh.sh index ddbcc10..645312d 100755 --- a/plenopticam/scripts/bundling/pyinst2app_gh.sh +++ b/plenopticam/scripts/bundling/pyinst2app_gh.sh @@ -25,8 +25,8 @@ pyinstaller plenopticam/gui/top_level.py \ --exclude-module=matplotlib \ --osx-bundle-identifier='org.pythonmac.unspecified.plenopticam' \ --hidden-import pkg_resources.py2_warn \ - --add-data='/usr/local/lib/libtk8.6.dylib':'library' \ - --add-data='/usr/local/lib/libtcl8.6.dylib':'library' \ + --add-binary='/usr/local/lib/libtk8.6.dylib':'tk' \ + --add-binary='/usr/local/lib/libtcl8.6.dylib':'tcl' \ --add-data=plenopticam/cfg/cfg.json:cfg # extract version number from python file