Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (75 loc) · 1.95 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (75 loc) · 1.95 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
[project]
name = "brainextractor"
description = "brain extraction in python"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
authors = [{ name = "Andrew Van", email = "vanandrew@wustl.edu" }]
keywords = [
"python",
"image-processing",
"neuroscience",
"neuroimaging",
"segmentation",
"fsl",
"brain-extraction",
"skull-stripping",
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: C++",
"Topic :: Scientific/Engineering :: Image Processing",
]
urls = { github = "https://github.com/vanandrew/brainextractor" }
version = "0.3.0"
dependencies = [
"numba >= 0.59.0",
"nibabel >= 5.0.0",
"trimesh >= 4.0.0",
"numpy >= 1.24.0",
"scipy >= 1.11.0",
"pyrender >= 0.1.45",
]
[project.scripts]
brainextractor = "brainextractor.scripts.brainextractor:main"
brainextractor_render = "brainextractor.scripts.brainextractor_render:main"
[build-system]
requires = ["setuptools >= 61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
zip-safe = true
[tool.setuptools.packages.find]
include = ["brainextractor*"]
[dependency-groups]
dev = [
"ruff >= 0.8.0",
"pre-commit >= 3.7.0",
"pytest >= 8.0",
"pytest-cov >= 5.0",
]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
]
ignore = [
"E203", # whitespace before ':'
"E741", # ambiguous variable name (project uses single-letter math vars)
"E501", # line-too-long (black handles this)
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["B"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra --strict-markers"