-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
84 lines (75 loc) · 1.38 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
[build-system]
requires = [
"setuptools >= 58.0.1"
]
build-backend = "setuptools.build_meta"
[project]
name = "pyalfe"
version = "0.1.1"
authors = [
{name = "Reza Eghbali", email="eghbali68@gmail.com"},
{email = "reza.eghbali@ucsf.edu"}
]
description = "A pipeline for Automated Lesion and Feature Extraction from brain MRIs"
readme = "README.md"
dependencies = [
"scipy",
"StrEnum",
"numpy",
"Click",
"pydcm2niix",
"huggingface_hub",
"torch",
"pandas",
"picsl_c3d",
"picsl_greedy",
"pybids",
"nibabel",
"nilearn",
"matplotlib",
"nnunet",
"nnunetv2",
]
[project.license]
file = "LICENSE"
[project.optional-dependencies]
ants = ["antspyx"]
radiomics = ["Pyradiomics"]
docs = ["jupyter-book", "sphinx-click"]
[project.scripts]
pyalfe = "pyalfe.main:main"
[tool.setuptools.package-data]
pyalfe = ["*.ini"]
"pyalfe.templates" = ["oasis/*.nii.gz"]
[tool.setuptools]
packages = [
"pyalfe",
"pyalfe.interfaces",
"pyalfe.models",
"pyalfe.tasks",
"pyalfe.tools",
"pyalfe.utils"
]
[tool.ruff]
line-length = 88
target-version = 'py39'
select = [
'F',
'E',
'W',
'UP',
]
exclude = [
'.git',
'.ruff_cache',
'dist'
]
[tool.ruff.per-file-ignores]
"**/__init__.py" = [
'E402',
'F401',
'F403',
'F405',
]
[tool.pytest.ini_options]
addopts = ["--ignore=tests/test_integration.py"]