-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
113 lines (94 loc) · 2.59 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-template-builder"
authors = [{ name = "Niko Sirmpilatze", email = "[email protected]" }]
description = "Build unbiased anatomical templates from individual images"
readme = "README.md"
requires-python = ">=3.10.0"
dynamic = ["version"]
license = { text = "BSD-3-Clause" }
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"License :: OSI Approved :: BSD License",
]
dependencies = [
"napari[all]==0.4.19",
"brainglobe-utils>=0.6.2",
"brainglobe-atlasapi>=2.0.7",
"loguru",
"antspyx",
]
entry-points."napari.manifest".brainglobe-template-builder = "brainglobe_template_builder.napari:napari.yaml"
[project.urls]
"Homepage" = "https://github.com/brainglobe/brainglobe-template-builder"
"Bug Tracker" = "https://github.com/brainglobe/brainglobe-template-builder/issues"
"Documentation" = "https://brainglobe.github.io/brainglobe-template-builder"
"Source Code" = "https://github.com/brainglobe/brainglobe-template-builder"
"User Support" = "https://github.com/brainglobe/brainglobe-template-builder/issues"
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"coverage",
"tox",
"black",
"mypy",
"pre-commit",
"ruff",
"setuptools_scm",
]
[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_template_builder*"]
exclude = ["tests", "docs*"]
[tool.pytest.ini_options]
addopts = "--cov=brainglobe_template_builder"
[tool.black]
target-version = ['py310', 'py311', 'py312']
skip-string-normalization = false
line-length = 79
[tool.setuptools_scm]
[tool.check-manifest]
ignore = [
".yaml",
"tox.ini",
"tests/",
"tests/test_unit/",
"tests/test_integration/",
"docs/",
"docs/source/",
"scripts/",
]
[tool.mypy]
ignore_missing_imports = true
explicit_package_bases = true
[tool.ruff]
line-length = 79
exclude = ["__init__.py", "build", ".eggs", "scripts"]
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
commands =
pytest -v --color=yes --cov=brainglobe_template_builder --cov-report=xml
"""