Skip to content

Commit

Permalink
refactor(osx): use tk/tcl8.6 libs from brew when bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnec committed May 14, 2020
1 parent 5d14108 commit 08c7399
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
osx_image: xcode11.4
language: shell # 'language: python' is an error on Travis CI macOS
before_install:
- brew install tcl-tk
- python3 --version
- python3 -c "exec(\"import tkinter\\nprint(tkinter.TkVersion)\")"
- name: "Windows"
Expand Down
4 changes: 2 additions & 2 deletions plenopticam/scripts/bundling/pyinst2app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ 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='/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='/usr/local/Cellar/tcl-tk/libtk8.6.dylib':'tk' \
--add-binary='/usr/local/Cellar/tcl-tk/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 \
Expand Down

0 comments on commit 08c7399

Please sign in to comment.