-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (99 loc) · 2.68 KB
/
pyproject.toml
File metadata and controls
110 lines (99 loc) · 2.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[project]
name = "napari-flowreg"
dynamic = ["version"]
description = "napari plugin for Flow-Registration motion correction"
readme = "README.md"
authors = [
{ name="Philipp Flotho", email="Philipp.Flotho@uni-saarland.de" }
]
license = { text = "CC BY-NC-SA 4.0" }
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: napari",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Image Processing",
]
requires-python = ">=3.10"
dependencies = [
"pyflowreg[vis]>=0.1.0a4",
"qtpy",
"numpy",
"scipy>=1.10.0",
"matplotlib>=3.5.0",
]
[project.optional-dependencies]
testing = [
"pytest>=7.0",
"pytest-cov>=4.0",
"pytest-qt",
"h5py",
"tifffile",
"napari[pyqt6]"
]
dev = [
"napari[pyqt5]>=0.4.18",
"pre-commit",
"black",
"ruff",
]
[project.urls]
Homepage = "https://github.com/FlowRegSuite/napari-flowreg"
Source = "https://github.com/FlowRegSuite/napari-flowreg"
Tracker = "https://github.com/FlowRegSuite/napari-flowreg/issues"
Documentation = "https://flowregsuite.github.io/napari-flowreg/"
[project.entry-points."napari.manifest"]
napari-flowreg = "napari_flowreg:napari.yaml"
[build-system]
requires = ["setuptools>=80", "wheel", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
napari_flowreg = ["napari.yaml"]
[tool.setuptools_scm]
version_file = "src/napari_flowreg/_version.py"
version_scheme = "no-guess-dev"
local_scheme = "no-local-version"
# Testing configuration
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["tests"]
python_files = ["test_*.py"]
markers = [
"qt: tests requiring a Qt event loop",
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests requiring napari viewer (deselect with '-m \"not integration\"')",
]
addopts = [
"-ra",
"--strict-markers",
"--strict-config",
]
filterwarnings = [
"error:::napari_flowreg",
"ignore::DeprecationWarning:napari",
"ignore::DeprecationWarning:qtpy",
"ignore::DeprecationWarning:numba",
"ignore::RuntimeWarning:numba",
]
# Coverage configuration
[tool.coverage.run]
source = ["napari_flowreg"]
branch = true
omit = [
"*/tests/*",
"*/_tests/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"raise NotImplementedError",
"except ImportError:",
]