-
Notifications
You must be signed in to change notification settings - Fork 29
/
pyproject.toml
123 lines (108 loc) · 2.72 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
114
115
116
117
118
119
120
121
122
123
[project]
name = "brainreg"
description = "Automated multi-atlas whole-brain microscopy registration"
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "Adam Tyson, Charly Rousseau, Stephen Lenzi", email = "[email protected]" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: napari",
]
requires-python = ">=3.10"
dependencies = [
"brainglobe-atlasapi>=2.0.1",
"brainglobe-space>=1.0.0",
"brainglobe-utils>=0.5.0",
"fancylog",
"numpy",
"scikit-image>=0.24.0",
]
dynamic = ["version"]
[project.optional-dependencies]
napari = [
"brainglobe-napari-io >=0.3.2",
"brainglobe-segmentation >= 1.0.0",
"magicgui",
"napari-plugin-engine >= 0.1.4",
"napari[pyqt5]",
"pooch>1", # For sample data
"qtpy",
]
dev = [
"black",
"check-manifest",
"gitpython",
"napari[pyqt5]",
"pre-commit",
"pytest-cov",
"pytest-qt",
"pytest-mock",
"pytest",
"setuptools_scm",
"tox",
]
[project.entry-points."napari.manifest"]
brainreg = "brainreg.napari:napari.yaml"
[project.scripts]
brainreg = "brainreg.core.cli:main"
[project.urls]
"Homepage" = "https://brainglobe.info"
"Bug Tracker" = "https://github.com/brainglobe/brainreg/issues"
"Documentation" = "https://docs.brainglobe.info/brainreg"
"Source Code" = "https://github.com/brainglobe/brainreg"
"User support" = "https://forum.image.sc/tag/brainglobe"
"Twitter" = "https://twitter.com/brain_globe"
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["brainreg*"]
[tool.setuptools.package-data]
include = ["brainreg*"]
[tool.pytest.ini_options]
addopts = "--cov=brainreg"
[tool.black]
line-length = 79
skip-string-normalization = false
target-version = ['py310','py311', 'py312']
[tool.ruff]
line-length = 79
exclude = ["__init__.py", "build", ".eggs"]
select = ["I", "E", "F"]
fix = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py{310,311,312}
isolated_build = True
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
[testenv]
extras =
dev
napari
commands =
pytest -v --color=yes --cov=brainreg --cov-report=xml
passenv =
CI
GITHUB_ACTIONS
DISPLAY
XAUTHORITY
NUMPY_EXPERIMENTAL_ARRAY_FUNCTION
PYVISTA_OFF_SCREEN
"""