-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpyproject.toml
107 lines (95 loc) · 3.1 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
[project]
name = "brainreg-segment"
description = "Manual segmentation of 3D brain structures in a common anatomical space"
readme = "README.md"
authors = [
{name = "Adam Tyson, Horst Obenhaus", email = "code@adamltyson.com"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: napari",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
requires-python = ">=3.7"
dependencies = [
"brainglobe-napari-io",
"dask >= 2.15.0",
"imio",
"imlib >= 0.0.26",
"napari-plugin-engine >= 0.1.4",
"napari>=0.4.5",
"numpy",
"pandas",
"scikit-image",
"tables",
]
license = {text = "BSD-3-Clause"}
dynamic = ["version"]
[project.urls]
Homepage = "https://brainglobe.info/"
"Source Code" = "https://github.com/brainglobe/brainreg-segment"
"Bug Tracker" = "https://github.com/brainglobe/brainreg-segment/issues"
Documentation = "https://docs.brainglobe.info/brainreg-segment"
"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.scripts]
brainreg-segment = "brainreg_segment.segment:main"
[project.entry-points."napari.plugin"]
brainreg-segment = "brainreg_segment.plugins"
[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 = ["brainreg_segment*"]
[tool.setuptools_scm]
[tool.pytest.ini_options]
filterwarnings = [
"error",
# Emitted by scikit-image on import, see https://github.com/scikit-image/scikit-image/issues/6663
# This filter should be removed when scikit-image 0.20 is released
"ignore:`np.bool8` is a deprecated alias for `np.bool_`",
# Emitted by nptyping, see https://github.com/ramonhagenaars/nptyping/issues/102
# for upstream issue
"ignore:`np.object0` is a deprecated alias for ``np.object0`",
"ignore:`np.int0` is a deprecated alias for `np.intp`",
"ignore:`np.uint0` is a deprecated alias for `np.uintp`",
"ignore:`np.void0` is a deprecated alias for `np.void`",
"ignore:`np.bytes0` is a deprecated alias for `np.bytes_`",
"ignore:`np.str0` is a deprecated alias for `np.str_`",
# Warning comes from vispy - fixed in vispy 0.12.0. napari 0.5.0 will bump
# vispy to 0.5.0, so this filter should be removed when napari 0.5.0
# is released
"ignore:distutils Version classes are deprecated:DeprecationWarning"
]
[tool.black]
target-version = ['py38', 'py39', 'py310']
skip-string-normalization = false
line-length = 79
[tool.ruff]
line-length = 79
exclude = ["__init__.py","build",".eggs"]
select = ["I", "E", "F"]
fix = true