napari-plugin-manager 0.1.1__tar.gz → 0.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/.pre-commit-config.yaml +3 -3
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/PKG-INFO +7 -7
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/README.md +6 -6
- napari_plugin_manager-0.1.2/RELEASE.md +21 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/_tests/test_qt_plugin_dialog.py +1 -3
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/_version.py +2 -2
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/qt_plugin_dialog.py +2 -3
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager.egg-info/PKG-INFO +7 -7
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager.egg-info/SOURCES.txt +1 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/.github/dependabot.yml +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/.github/workflows/deploy_docs.yml +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/.github/workflows/test_and_deploy.yml +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/.gitignore +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/LICENSE +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/Makefile +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/docs/__init__.py +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/docs/_static/custom.css +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/docs/_static/favicon/logo-noborder-180.png +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/docs/_static/favicon/logo-silhouette-192.png +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/docs/_static/favicon/logo-silhouette-dark-light.svg +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/docs/_templates/navbar-project.html +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/docs/_toc.yml +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/docs/conf.py +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/docs/developers/contributing.md +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/docs/index.md +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/images/description.png +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/images/filter.png +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/images/install.png +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/images/logo.png +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/images/status.png +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/images/uninstall.png +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/images/update.png +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/__init__.py +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/_tests/__init__.py +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/_tests/conftest.py +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/_tests/test_installer_process.py +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/_tests/test_npe2api.py +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/_tests/test_utils.py +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/npe2api.py +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/qt_package_installer.py +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/qt_widgets.py +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/styles.qss +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/utils.py +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager.egg-info/dependency_links.txt +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager.egg-info/requires.txt +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager.egg-info/top_level.txt +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/pyproject.toml +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/setup.cfg +0 -0
- {napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/tox.ini +0 -0
|
@@ -8,12 +8,12 @@ repos:
|
|
|
8
8
|
hooks:
|
|
9
9
|
- id: pycln
|
|
10
10
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
11
|
-
rev: 24.
|
|
11
|
+
rev: 24.8.0
|
|
12
12
|
hooks:
|
|
13
13
|
- id: black
|
|
14
14
|
pass_filenames: true
|
|
15
15
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
16
|
-
rev: v0.
|
|
16
|
+
rev: v0.6.3
|
|
17
17
|
hooks:
|
|
18
18
|
- id: ruff
|
|
19
19
|
- repo: https://github.com/seddonym/import-linter
|
|
@@ -22,7 +22,7 @@ repos:
|
|
|
22
22
|
- id: import-linter
|
|
23
23
|
stages: [manual]
|
|
24
24
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
|
25
|
-
rev: 0.29.
|
|
25
|
+
rev: 0.29.2
|
|
26
26
|
hooks:
|
|
27
27
|
- id: check-github-workflows
|
|
28
28
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: napari-plugin-manager
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Install plugins for napari, in napari.
|
|
5
5
|
Author-email: napari team <napari-steering-council@googlegroups.com>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -112,7 +112,7 @@ This package currently provides:
|
|
|
112
112
|
the [npe2api service](https://api.napari.org).
|
|
113
113
|
- The ability to install other packages via URL of by dragging and dropping artifacts from [PyPI].
|
|
114
114
|
|
|
115
|
-

|
|
116
116
|
|
|
117
117
|
`napari-plugin-manager` knows how to detect if napari was installed using `conda` or `pip` and
|
|
118
118
|
provide the appropriate default installer tool on the `Installation Info` dropdown for each plugin.
|
|
@@ -161,7 +161,7 @@ In the image below filtering by the word `arcos` yields a single plugin, the
|
|
|
161
161
|
`arcos-gui` plugin. Notice that plugins that provide a display name, will show
|
|
162
162
|
the package name to the right in parenthesis.
|
|
163
163
|
|
|
164
|
-

|
|
165
165
|
|
|
166
166
|
### Refreshing
|
|
167
167
|
|
|
@@ -184,7 +184,7 @@ You can cancel the process at any time by clicking the `Cancel` button of each p
|
|
|
184
184
|
[conda-forge channel](https://anaconda.org/conda-forge/). Some plugins will require
|
|
185
185
|
a restart to be properly configured.
|
|
186
186
|
|
|
187
|
-

|
|
188
188
|
|
|
189
189
|
### Uninstalling a plugin
|
|
190
190
|
|
|
@@ -198,7 +198,7 @@ You can cancel the process at any time by clicking the `Cancel` button of each p
|
|
|
198
198
|
|
|
199
199
|
**Note**: Some plugins will require a restart to be properly removed.
|
|
200
200
|
|
|
201
|
-

|
|
202
202
|
|
|
203
203
|
### Updating a plugin
|
|
204
204
|
|
|
@@ -213,7 +213,7 @@ filtering by name or description.
|
|
|
213
213
|
|
|
214
214
|
You can cancel the process at any time by clicking the `Cancel` button of each plugin.
|
|
215
215
|
|
|
216
|
-

|
|
217
217
|
|
|
218
218
|
### Batch actions
|
|
219
219
|
|
|
@@ -236,7 +236,7 @@ Some issues that you might experience when using the installer include:
|
|
|
236
236
|
* Incompatible packages due to conflicting dependencies.
|
|
237
237
|
* Network connectivity errors.
|
|
238
238
|
|
|
239
|
-

|
|
240
240
|
|
|
241
241
|
## License
|
|
242
242
|
|
|
@@ -30,7 +30,7 @@ This package currently provides:
|
|
|
30
30
|
the [npe2api service](https://api.napari.org).
|
|
31
31
|
- The ability to install other packages via URL of by dragging and dropping artifacts from [PyPI].
|
|
32
32
|
|
|
33
|
-

|
|
34
34
|
|
|
35
35
|
`napari-plugin-manager` knows how to detect if napari was installed using `conda` or `pip` and
|
|
36
36
|
provide the appropriate default installer tool on the `Installation Info` dropdown for each plugin.
|
|
@@ -79,7 +79,7 @@ In the image below filtering by the word `arcos` yields a single plugin, the
|
|
|
79
79
|
`arcos-gui` plugin. Notice that plugins that provide a display name, will show
|
|
80
80
|
the package name to the right in parenthesis.
|
|
81
81
|
|
|
82
|
-

|
|
83
83
|
|
|
84
84
|
### Refreshing
|
|
85
85
|
|
|
@@ -102,7 +102,7 @@ You can cancel the process at any time by clicking the `Cancel` button of each p
|
|
|
102
102
|
[conda-forge channel](https://anaconda.org/conda-forge/). Some plugins will require
|
|
103
103
|
a restart to be properly configured.
|
|
104
104
|
|
|
105
|
-

|
|
106
106
|
|
|
107
107
|
### Uninstalling a plugin
|
|
108
108
|
|
|
@@ -116,7 +116,7 @@ You can cancel the process at any time by clicking the `Cancel` button of each p
|
|
|
116
116
|
|
|
117
117
|
**Note**: Some plugins will require a restart to be properly removed.
|
|
118
118
|
|
|
119
|
-

|
|
120
120
|
|
|
121
121
|
### Updating a plugin
|
|
122
122
|
|
|
@@ -131,7 +131,7 @@ filtering by name or description.
|
|
|
131
131
|
|
|
132
132
|
You can cancel the process at any time by clicking the `Cancel` button of each plugin.
|
|
133
133
|
|
|
134
|
-

|
|
135
135
|
|
|
136
136
|
### Batch actions
|
|
137
137
|
|
|
@@ -154,7 +154,7 @@ Some issues that you might experience when using the installer include:
|
|
|
154
154
|
* Incompatible packages due to conflicting dependencies.
|
|
155
155
|
* Network connectivity errors.
|
|
156
156
|
|
|
157
|
-

|
|
158
158
|
|
|
159
159
|
## License
|
|
160
160
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Release Procedure
|
|
2
|
+
|
|
3
|
+
Here you can find some information about how to trigger a new release over PyPI and subsequent `conda-forge` update.
|
|
4
|
+
|
|
5
|
+
## PyPI
|
|
6
|
+
|
|
7
|
+
To release on PyPI you will need to create a new tag. To do so you can:
|
|
8
|
+
|
|
9
|
+
* Create a [new GitHub release](https://github.com/napari/napari-plugin-manager/releases/new)
|
|
10
|
+
* Use over the new release GitHub page the `Choose a tag` dropdown to create a new tag (it should be something like `vX.Y.Z` incrementing the major, minor or patch number as required).
|
|
11
|
+
* Once the tag is defined you should be able to click `Generate release notes`.
|
|
12
|
+
* Put as release title the tag that was created (`vX.Y.Z`).
|
|
13
|
+
* Publish the release, check that the deploy step was run successfully and that the new version is available at [PyPI](https://pypi.org/project/napari-plugin-manager/#history)
|
|
14
|
+
|
|
15
|
+
## conda-forge
|
|
16
|
+
|
|
17
|
+
To update the `conda-forge` package you will need to update the [`napari-plugin-manager` feedstock](https://github.com/conda-forge/napari-plugin-manager-feedstock). **If a new version is already available from PyPI**, you can either wait for the automated PR or trigger one manually:
|
|
18
|
+
|
|
19
|
+
* Create an issue over the feedstock with the title: [`@conda-forge-admin, please update version`](https://conda-forge.org/docs/maintainer/infrastructure/#conda-forge-admin-please-update-version)
|
|
20
|
+
* Tweak the generated PR if necessary (dependencies changes for example).
|
|
21
|
+
* Merge the generated PR.
|
|
@@ -14,9 +14,7 @@ from napari.utils.translations import trans
|
|
|
14
14
|
from qtpy.QtCore import QMimeData, QPointF, Qt, QUrl
|
|
15
15
|
from qtpy.QtGui import QDropEvent
|
|
16
16
|
|
|
17
|
-
if
|
|
18
|
-
sys.version_info[:2] > (3, 10) and platform.system() == "Linux"
|
|
19
|
-
):
|
|
17
|
+
if qtpy.API_NAME == 'PySide2' and sys.version_info[:2] > (3, 10):
|
|
20
18
|
pytest.skip(
|
|
21
19
|
"Known PySide2 x Python incompatibility: "
|
|
22
20
|
"... object cannot be interpreted as an integer",
|
|
@@ -17,6 +17,7 @@ from napari._qt.widgets.qt_tooltip import QtToolTipLabel
|
|
|
17
17
|
from napari.plugins.utils import normalized_name
|
|
18
18
|
from napari.settings import get_settings
|
|
19
19
|
from napari.utils.misc import (
|
|
20
|
+
StringEnum,
|
|
20
21
|
parse_version,
|
|
21
22
|
running_as_constructor_app,
|
|
22
23
|
)
|
|
@@ -104,9 +105,7 @@ class PluginListItem(QFrame):
|
|
|
104
105
|
author, source, version, and buttons to update, install/uninstall, etc."""
|
|
105
106
|
|
|
106
107
|
# item, package_name, action_name, version, installer_choice
|
|
107
|
-
actionRequested = Signal(
|
|
108
|
-
QListWidgetItem, str, InstallerActions, str, InstallerTools
|
|
109
|
-
)
|
|
108
|
+
actionRequested = Signal(QListWidgetItem, str, StringEnum, str, StringEnum)
|
|
110
109
|
|
|
111
110
|
def __init__(
|
|
112
111
|
self,
|
{napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: napari-plugin-manager
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Install plugins for napari, in napari.
|
|
5
5
|
Author-email: napari team <napari-steering-council@googlegroups.com>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -112,7 +112,7 @@ This package currently provides:
|
|
|
112
112
|
the [npe2api service](https://api.napari.org).
|
|
113
113
|
- The ability to install other packages via URL of by dragging and dropping artifacts from [PyPI].
|
|
114
114
|
|
|
115
|
-

|
|
116
116
|
|
|
117
117
|
`napari-plugin-manager` knows how to detect if napari was installed using `conda` or `pip` and
|
|
118
118
|
provide the appropriate default installer tool on the `Installation Info` dropdown for each plugin.
|
|
@@ -161,7 +161,7 @@ In the image below filtering by the word `arcos` yields a single plugin, the
|
|
|
161
161
|
`arcos-gui` plugin. Notice that plugins that provide a display name, will show
|
|
162
162
|
the package name to the right in parenthesis.
|
|
163
163
|
|
|
164
|
-

|
|
165
165
|
|
|
166
166
|
### Refreshing
|
|
167
167
|
|
|
@@ -184,7 +184,7 @@ You can cancel the process at any time by clicking the `Cancel` button of each p
|
|
|
184
184
|
[conda-forge channel](https://anaconda.org/conda-forge/). Some plugins will require
|
|
185
185
|
a restart to be properly configured.
|
|
186
186
|
|
|
187
|
-

|
|
188
188
|
|
|
189
189
|
### Uninstalling a plugin
|
|
190
190
|
|
|
@@ -198,7 +198,7 @@ You can cancel the process at any time by clicking the `Cancel` button of each p
|
|
|
198
198
|
|
|
199
199
|
**Note**: Some plugins will require a restart to be properly removed.
|
|
200
200
|
|
|
201
|
-

|
|
202
202
|
|
|
203
203
|
### Updating a plugin
|
|
204
204
|
|
|
@@ -213,7 +213,7 @@ filtering by name or description.
|
|
|
213
213
|
|
|
214
214
|
You can cancel the process at any time by clicking the `Cancel` button of each plugin.
|
|
215
215
|
|
|
216
|
-

|
|
217
217
|
|
|
218
218
|
### Batch actions
|
|
219
219
|
|
|
@@ -236,7 +236,7 @@ Some issues that you might experience when using the installer include:
|
|
|
236
236
|
* Incompatible packages due to conflicting dependencies.
|
|
237
237
|
* Network connectivity errors.
|
|
238
238
|
|
|
239
|
-

|
|
240
240
|
|
|
241
241
|
## License
|
|
242
242
|
|
|
File without changes
|
{napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/.github/workflows/deploy_docs.yml
RENAMED
|
File without changes
|
{napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/.github/workflows/test_and_deploy.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/docs/_templates/navbar-project.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/__init__.py
RENAMED
|
File without changes
|
{napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/_tests/__init__.py
RENAMED
|
File without changes
|
{napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/_tests/conftest.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/npe2api.py
RENAMED
|
File without changes
|
|
File without changes
|
{napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/qt_widgets.py
RENAMED
|
File without changes
|
{napari_plugin_manager-0.1.1 → napari_plugin_manager-0.1.2}/napari_plugin_manager/styles.qss
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|