Skip to content

Commit 380d4a1

Browse files
committed
pyproj
1 parent 03ed3d0 commit 380d4a1

5 files changed

Lines changed: 129 additions & 47 deletions

File tree

napari.yaml

Lines changed: 0 additions & 18 deletions
This file was deleted.

napari_allencell_segmenter/_dock_widget.py

Lines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: napari-allencell-segmenter
2+
display_name: Allen Cell Segmenter
3+
metadata_version: "2.2"
4+
5+
contributions:
6+
commands:
7+
- id: napari-allencell-segmenter.workflow_editor
8+
title: Workflow editor
9+
python_name: napari_allencell_segmenter._plugin:WorkflowEditorWidget
10+
11+
- id: napari-allencell-segmenter.batch_processing
12+
title: Batch processing
13+
python_name: napari_allencell_segmenter._plugin:BatchProcessingWidget
14+
15+
widgets:
16+
- command: napari-allencell-segmenter.workflow_editor
17+
display_name: Workflow editor
18+
19+
- command: napari-allencell-segmenter.batch_processing
20+
display_name: Batch processing

setup.py renamed to old_metadata

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def read(fname):
9696
tests_require=test_requirements,
9797
extras_require=extra_requirements,
9898
include_package_data=True,
99+
package_data={"napari_allencell_segmenter": ["napari.yaml"]},
99100
classifiers=[
100101
"Development Status :: 5 - Production/Stable",
101102
"Intended Audience :: Science/Research",
@@ -114,7 +115,7 @@ def read(fname):
114115
],
115116
entry_points={
116117
"napari.manifest": [
117-
"napari-allencell-segmenter = napari_allencell_segmenter:napari.yaml"
118+
"napari-allencell-segmenter = napari_allencell_segmenter/napari.yaml"
118119
],
119120
},
120121
project_urls={

pyproject.toml

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,109 @@
11
[tool.black]
22
line-length = 120
3+
4+
[build-system]
5+
requires = ["setuptools>=61", "setuptools_scm>=7"]
6+
build-backend = "setuptools.build_meta"
7+
8+
[project]
9+
name = "napari-allencell-segmenter"
10+
version = "2.1.12-dev0" # setuptools_scm will override if tags exist
11+
description = "A plugin that enables 3D image segmentation provided by Allen Institute for Cell Science"
12+
readme = "README.md"
13+
license = { text = "BSD-3" }
14+
requires-python = ">=3.9"
15+
authors = [
16+
{ name = "Allen Institute for Cell Science" }
17+
]
18+
classifiers = [
19+
"Development Status :: 5 - Production/Stable",
20+
"Intended Audience :: Science/Research",
21+
"Framework :: napari",
22+
"Topic :: Scientific/Engineering",
23+
"Topic :: Scientific/Engineering :: Visualization",
24+
"Topic :: Scientific/Engineering :: Information Analysis",
25+
"Topic :: Scientific/Engineering :: Bio-Informatics",
26+
"Programming Language :: Python :: 3",
27+
"Programming Language :: Python :: 3.9",
28+
"Operating System :: OS Independent",
29+
"License :: OSI Approved :: BSD License",
30+
]
31+
32+
dependencies = [
33+
"napari>=0.4.9",
34+
"npe2",
35+
"numpy",
36+
"aicssegmentation >= 0.5.3",
37+
"magicgui >= 0.2.9",
38+
"aicsimageio ~= 4.0.5",
39+
"opencv-python-headless>=4.5.1",
40+
"importlib-metadata==4.11.4",
41+
]
42+
43+
[project.optional-dependencies]
44+
test = [
45+
"black>=19.10b0",
46+
"codecov>=2.0.22",
47+
"docutils>=0.10,<0.16",
48+
"flake8>=3.7.7",
49+
"psutil>=5.7.0",
50+
"pytest>=4.3.0",
51+
"pytest-cov==2.6.1",
52+
"pytest-raises>=0.10",
53+
"pytest-qt>=3.3.0",
54+
"quilt3>=3.1.12",
55+
]
56+
dev = [
57+
"bumpversion>=0.5.3",
58+
"coverage>=5.0a4",
59+
"gitchangelog>=3.0.4",
60+
"ipython>=7.5.0",
61+
"m2r>=0.2.1",
62+
"pytest-runner>=4.4",
63+
"Sphinx>=2.0.0b1,<3",
64+
"sphinx_rtd_theme>=0.1.2",
65+
"tox==3.25.0",
66+
"twine>=1.13.0",
67+
"wheel>=0.33.1",
68+
]
69+
setup = ["pytest-runner"]
70+
all = [
71+
"napari>=0.4.9",
72+
"npe2",
73+
"numpy",
74+
"aicssegmentation >= 0.5.3",
75+
"magicgui >= 0.2.9",
76+
"aicsimageio ~= 4.0.5",
77+
"opencv-python-headless>=4.5.1",
78+
"importlib-metadata==4.11.4",
79+
"black>=19.10b0",
80+
"codecov>=2.0.22",
81+
"docutils>=0.10,<0.16",
82+
"flake8>=3.7.7",
83+
"psutil>=5.7.0",
84+
"pytest>=4.3.0",
85+
"pytest-cov==2.6.1",
86+
"pytest-raises>=0.10",
87+
"pytest-qt>=3.3.0",
88+
"quilt3>=3.1.12",
89+
"bumpversion>=0.5.3",
90+
"coverage>=5.0a4",
91+
"gitchangelog>=3.0.4",
92+
"ipython>=7.5.0",
93+
"m2r>=0.2.1",
94+
"pytest-runner>=4.4",
95+
"Sphinx>=2.0.0b1,<3",
96+
"sphinx_rtd_theme>=0.1.2",
97+
"tox==3.25.0",
98+
"twine>=1.13.0",
99+
"wheel>=0.33.1",
100+
]
101+
102+
[project.entry-points."napari.manifest"]
103+
"napari-allencell-segmenter" = "napari_allencell_segmenter:napari.yaml"
104+
105+
[tool.setuptools_scm]
106+
write_to = "napari_allencell_segmenter/_version.py"
107+
108+
[tool.setuptools.packages.find]
109+
include = ["napari_allencell_segmenter*"]

0 commit comments

Comments
 (0)