While running some tests for npe2, this plugin was among those that could not be imported after installation, without also manually installing napari. Even if it may seem obvious that a user of this plugin would already have napari installed, if your package imports anything directly from napari (including, e.g. napari.types), then you should add napari to your install_requires in setup.cfg/py.
While running some tests for npe2, this plugin was among those that could not be imported after installation, without also manually installing napari. Even if it may seem obvious that a user of this plugin would already have napari installed, if your package imports anything directly from napari (including, e.g.
napari.types
), then you should add napari to yourinstall_requires
in setup.cfg/py.thanks!