Skip to content

Commit

Permalink
Updated pyinstaller scripts to include hidden rasterio imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mbsantiago committed May 23, 2024
1 parent baffafd commit 142695f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/bundle_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ build/.venv/bin/pyinstaller \
--hidden-import "colorama" \
--hidden-import "logging.config" \
--hidden-import "passlib.handlers.bcrypt" \
--hidden-import "rasterio" \
--hidden-import "rasterio.sample" \
--hidden-import "rasterio._shim" \
--hidden-import "rasterio.control" \
--hidden-import "rasterio.crs" \
--hidden-import "rasterio.vrt" \
--hidden-import "rasterio._features" \
--add-data "src/whombat/migrations:whombat/migrations" \
--add-data "src/whombat/statics:whombat/statics" \
--add-data "src/whombat/user_guide:whombat/user_guide" \
Expand Down
7 changes: 7 additions & 0 deletions scripts/bundle_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ build/.venv/bin/pyinstaller \
--hidden-import "colorama" \
--hidden-import "logging.config" \
--hidden-import "passlib.handlers.bcrypt" \
--hidden-import "rasterio" \
--hidden-import "rasterio.sample" \
--hidden-import "rasterio._shim" \
--hidden-import "rasterio.control" \
--hidden-import "rasterio.crs" \
--hidden-import "rasterio.vrt" \
--hidden-import "rasterio._features" \
--add-data "src/whombat/migrations:whombat/migrations" \
--add-data "src/whombat/statics:whombat/statics" \
--add-data "src/whombat/user_guide:whombat/user_guide" \
Expand Down
7 changes: 7 additions & 0 deletions scripts/bundle_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ build\.venv\Scripts\pyinstaller `
--hidden-import "logging.config" `
--hidden-import "colorama" `
--hidden-import "passlib.handlers.bcrypt" `
--hidden-import "rasterio" `
--hidden-import "rasterio.sample" `
--hidden-import "rasterio._shim" `
--hidden-import "rasterio.control" `
--hidden-import "rasterio.crs" `
--hidden-import "rasterio.vrt" `
--hidden-import "rasterio._features" `
--add-data "src\whombat\migrations;whombat\migrations" `
--add-data "src\whombat\statics;whombat\statics" `
--add-data "src\whombat\user_guide;whombat\user_guide" `
Expand Down

0 comments on commit 142695f

Please sign in to comment.