-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
113 lines (99 loc) · 2.77 KB
/
pyproject.toml
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
111
112
113
[project]
name = "brainglobe-segmentation"
description = "Segmentation of anatomical structures in a common coordinate space"
readme = "README.md"
authors = [
{ name = "Adam Tyson, Horst Obenhaus", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: napari",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.10"
dependencies = [
"brainglobe-atlasapi >=2.0.1",
"brainglobe-napari-io >=0.3.0",
"brainglobe-utils >=0.5.0",
"napari >=0.4.5",
"numpy",
"pandas[hdf5]",
"qtpy",
"scikit-image",
"scipy",
"tifffile",
]
license = { text = "BSD-3-Clause" }
dynamic = ["version"]
[project.urls]
Homepage = "https://brainglobe.info/"
"Source Code" = "https://github.com/brainglobe/brainglobe-segmentation"
"Bug Tracker" = "https://github.com/brainglobe/brainglobe-segmentation/issues"
Documentation = "https://brainglobe.info/documentation/brainglobe-segmentation/index.html"
"User Support" = "https://forum.image.sc/tag/brainglobe"
[project.optional-dependencies]
dev = [
"black",
"gitpython",
"pre-commit",
"pytest",
"coverage",
"pytest-cov",
"pytest-qt",
"napari-time-slicer", # to test non ndarray-types
]
[project.entry-points."napari.manifest"]
brainglobe-segmentation = "brainglobe_segmentation:napari.yaml"
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["brainglobe_segmentation*"]
[tool.setuptools_scm]
[tool.black]
target-version = ['py310','py311', 'py312']
skip-string-normalization = false
line-length = 79
[tool.ruff]
line-length = 79
exclude = ["__init__.py", "build", ".eggs"]
fix = true
[tool.ruff.lint]
select = ["I", "E", "F"]
[tool.tox]
legacy_tox_ini = """
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
envlist = py{310,311,312}
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
[testenv]
passenv =
CI
GITHUB_ACTIONS
DISPLAY
XAUTHORITY
NUMPY_EXPERIMENTAL_ARRAY_FUNCTION
PYVISTA_OFF_SCREEN
deps =
pytest # https://docs.pytest.org/en/latest/contents.html
pytest-cov # https://pytest-cov.readthedocs.io/en/latest/
pytest-qt # https://pytest-qt.readthedocs.io/en/latest/
coverage
napari
pyqt5
magicgui
commands = pytest -v --color=yes --cov=brainglobe_segmentation --cov-report=xml
"""