Skip to content

Commit

Permalink
Add pyinstaller hidden-imports to fix imagecodecs issue
Browse files Browse the repository at this point in the history
  • Loading branch information
thejohnhoffer committed Oct 17, 2024
1 parent 4950e34 commit d311dd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package_mac.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
pyinstaller -F --add-data "static:static" --add-data "minerva-story:minerva-story" --collect-all altair --collect-all xmlschema --collect-all ome_types --collect-submodules xsdata_pydantic_basemodel src/app.py
pyinstaller -F --add-data "static:static" --add-data "minerva-story:minerva-story" --collect-all altair --collect-all xmlschema --collect-all ome_types --collect-submodules xsdata_pydantic_basemodel --hidden-import "imagecodecs._shared" --hidden-import "imagecodecs._imcd" src/app.py
2 changes: 1 addition & 1 deletion package_win.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pyinstaller -F --hidden-import="pkg_resources.py2_warn" --add-data "static;static" --add-data "minerva-story;minerva-story" --collect-all altair --collect-all xmlschema --collect-all ome_types --collect-submodules xsdata_pydantic_basemodel --icon icon.ico --name minerva_author src/app.py
pyinstaller -F --hidden-import="pkg_resources.py2_warn" --add-data "static;static" --add-data "minerva-story;minerva-story" --collect-all altair --collect-all xmlschema --collect-all ome_types --collect-submodules xsdata_pydantic_basemodel --icon icon.ico --name minerva_author --hidden-import="imagecodecs._shared" --hidden-import="imagecodecs._imcd" src/app.py

0 comments on commit d311dd8

Please sign in to comment.