Skip to content

Commit

Permalink
fix(lib): create dir prior to copying
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnec committed Mar 20, 2024
1 parent 9e62664 commit 7340946
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plenopticam/scripts/bundling/pyinst2app_gh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/

Expand Down

0 comments on commit 7340946

Please sign in to comment.