diff --git a/scripts/bundle_linux.sh b/scripts/bundle_linux.sh index ba83efd0..248cca72 100644 --- a/scripts/bundle_linux.sh +++ b/scripts/bundle_linux.sh @@ -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" \ diff --git a/scripts/bundle_macos.sh b/scripts/bundle_macos.sh index d4df16c6..e91536f0 100644 --- a/scripts/bundle_macos.sh +++ b/scripts/bundle_macos.sh @@ -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" \ diff --git a/scripts/bundle_windows.ps1 b/scripts/bundle_windows.ps1 index 3dcddc2a..8c78d63d 100644 --- a/scripts/bundle_windows.ps1 +++ b/scripts/bundle_windows.ps1 @@ -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" `