This makes napari and pyqt optional. Bundled app users will not need to install these. When installing in an environment, we now prompt the user to run pip install napari-segmenter-ml[napari] to grab everything including pyqt5 and napari
Changes
Makes it nicer to install plugin on bundled app (currently the double napari install is a source of slowness)
Testing
tested locally
How to review
pyproject.toml: created optional dependency to install napari and pyqt5
readme.md: updated w/ new instructions
Purpose
This makes
napari
andpyqt
optional. Bundled app users will not need to install these. When installing in an environment, we now prompt the user to runpip install napari-segmenter-ml[napari]
to grab everything including pyqt5 and napariChanges
Makes it nicer to install plugin on bundled app (currently the double napari install is a source of slowness)
Testing
tested locally
How to review
pyproject.toml
: created optional dependency to install napari and pyqt5readme.md
: updated w/ new instructions