From 72485a3140f7db70a553184995bd3b5e6af2b578 Mon Sep 17 00:00:00 2001 From: hahnec Date: Tue, 19 Mar 2024 02:59:55 +0100 Subject: [PATCH] fix(dylib): add existing tcl/tk dylib location --- plenopticam/scripts/bundling/pyinst2app_gh.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plenopticam/scripts/bundling/pyinst2app_gh.sh b/plenopticam/scripts/bundling/pyinst2app_gh.sh index 5e02eb5..1cbca46 100755 --- a/plenopticam/scripts/bundling/pyinst2app_gh.sh +++ b/plenopticam/scripts/bundling/pyinst2app_gh.sh @@ -21,9 +21,9 @@ pyinstaller plenopticam/gui/top_level.py \ --exclude-module=matplotlib \ --osx-bundle-identifier='org.pythonmac.unspecified.plenopticam' \ --hidden-import pkg_resources.py2_warn \ + --add-binary='/usr/local/miniconda/lib/libtk8.6.dylib':'tk' \ + --add-binary='/usr/local/miniconda/lib/libtcl8.6.dylib':'tcl' \ --add-data=plenopticam/cfg/cfg.json:cfg -# --add-binary='/usr/local/opt/tcl-tk/lib/libtk8.6.dylib':'tk' \ -# --add-binary='/usr/local/opt/tcl-tk/lib/libtcl8.6.dylib':'tcl' \ # extract version number from python file version=$(sed -ne 's@__version__ = \([^]]*\)@\1@gp' plenopticam/__init__.py)