From 73409460b9d8013a65e1f182d3085e88d2caf4f2 Mon Sep 17 00:00:00 2001 From: hahnec Date: Wed, 20 Mar 2024 02:11:54 +0100 Subject: [PATCH] fix(lib): create dir prior to copying --- plenopticam/scripts/bundling/pyinst2app_gh.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plenopticam/scripts/bundling/pyinst2app_gh.sh b/plenopticam/scripts/bundling/pyinst2app_gh.sh index 4f6398d..56ac5f2 100755 --- a/plenopticam/scripts/bundling/pyinst2app_gh.sh +++ b/plenopticam/scripts/bundling/pyinst2app_gh.sh @@ -24,9 +24,6 @@ pyinstaller plenopticam/gui/top_level.py \ --add-data=./docs/build/html/:./docs/build/html/ \ --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-data=plenopticam/cfg/cfg.json:cfg # extract version number from python file @@ -58,6 +55,7 @@ sudo mkdir -p ./dist/plenopticam.app/Contents/Resources/gui/ sudo cp -r ./plenopticam/gui/icns ./dist/plenopticam.app/Contents/Resources/gui/ # move tk-tcl lib to package +sudo mkdir -p ./dist/plenopticam.app/Contents/library/ sudo cp /usr/local/lib/libtk8.6.dylib ./dist/plenopticam.app/Contents/library/ sudo cp /usr/local/lib/libtcl8.6.dylib ./dist/plenopticam.app/Contents/library/