From d3f33f35580ffb6730755e693568d9c298c24640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Pe=C3=B1a-Castellanos?= Date: Mon, 29 Jul 2024 02:03:17 -0500 Subject: [PATCH 1/2] Add classifier to be discovered by plugin manager itself --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index d38b1d9..82d3ee7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,7 @@ license = {file = "LICENSE"} classifiers = [ "Development Status :: 3 - Alpha", "Environment :: X11 Applications :: Qt", + "Framework :: napari", "Intended Audience :: Education", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", From f0a4825e3f7be10dbc75422e7b0b1c2a57808529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Pe=C3=B1a-Castellanos?= Date: Sun, 18 Aug 2024 21:07:24 -0500 Subject: [PATCH 2/2] Do not display napari_plugin_manager on the instaleld list (yet) --- napari_plugin_manager/qt_plugin_dialog.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/napari_plugin_manager/qt_plugin_dialog.py b/napari_plugin_manager/qt_plugin_dialog.py index 58faf0a..45d376e 100644 --- a/napari_plugin_manager/qt_plugin_dialog.py +++ b/napari_plugin_manager/qt_plugin_dialog.py @@ -1062,7 +1062,10 @@ def _add_installed(self, pkg_name=None): distname, ) in napari.plugins.plugin_manager.iter_available(): # not showing these in the plugin dialog - if plugin_name in ('napari_plugin_engine',): + if plugin_name in ( + 'napari_plugin_engine', + 'napari_plugin_manager', + ): continue if normalized_name(distname or '') in self.already_installed: continue