Skip to content

Commit

Permalink
refactor(osx): use tk/tcl8.6 libs when bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnec committed May 14, 2020
1 parent efb9069 commit 5d14108
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plenopticam/scripts/bundling/pyinst2app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ pyinstaller plenopticam/gui/top_level.py \
--add-data=./docs/build/html/:./docs/build/html/ \
--exclude-module=matplotlib \
--osx-bundle-identifier='org.pythonmac.unspecified.plenopticam' \
--add-binary='/System/Library/Frameworks/Tk.framework/Tk':'tk' \
--add-binary='/System/Library/Frameworks/Tcl.framework/Tcl':'tcl' \
--add-binary='/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/libtk8.6.dylib':'tk' \
--add-binary='/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/libtcl8.6.dylib':'tcl' \
--hidden-import pkg_resources.py2_warn \
--add-data=plenopticam/cfg/cfg.json:cfg
# --add-data=/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imageio/:./imageio \
# --add-binary='/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/libtk8.6.dylib':'tk' \
# --add-binary='/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/libtcl8.6.dylib':'tcl' \
# --add-binary='/System/Library/Frameworks/Tk.framework/Tk':'tk' \
# --add-binary='/System/Library/Frameworks/Tcl.framework/Tcl':'tcl' \
# --add-binary='/Library/Frameworks/Python.framework/Versions/3.6/lib/libtk8.6.dylib':'tk' \ # dylibs copy works
# --add-binary='/Library/Frameworks/Python.framework/Versions/3.6/lib/libtcl8.6.dylib':'tcl' \ # dylibs copy works
# --add-data='./plenopticam/cfg/cfg.json':'Resources/cfg' \
Expand Down

0 comments on commit 5d14108

Please sign in to comment.