agencyenterprise / neurotechdevkit

Neurotech Development Kit (NDK)
https://agencyenterprise.github.io/neurotechdevkit/
Apache License 2.0
117 stars 10 forks source link

Add `napari` to Python dependency `[extras]` #130

Closed charlesbmi closed 1 year ago

charlesbmi commented 1 year ago

Issue

The current docs/examples/plot_3d gallery example fails with: napari has not been installed. Please install it with: pip install napari[all].

We should probably run the example with napari installed, and it would also be helpful for users to easily be able to install all extra/bonus dependencies at once. Other projects like napari have: pip install "napari[all]"

Implementation:

We could update the package dependencies so that pip install neurotechdevkit[examples] includes all the dependencies to run the examples. Example for poetry here: https://python-poetry.org/docs/pyproject/#extras

In this case, we would want to add napari[all] (or perhaps napari[pyqt6_experimental] as mentioned in https://github.com/agencyenterprise/neurotechdevkit/pull/121 )

charlesbmi commented 1 year ago

Blocked on waiting for napari to stabilize with regards to Qt6 support (or for macOS-ARM to work with Qt5 - probably won't happen).