-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
124 lines (115 loc) · 2.87 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
124
[build-system]
requires = [
"setuptools >= 66",
"wheel",
"setuptools_scm >= 6.4",
]
build-backend = "setuptools.build_meta"
[project]
authors = [
{name = "Jon Haitz Legarreta"}, {email = "[email protected]"}
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
]
dependencies = [
# common dependencies
"importlib-metadata",
"comet-ml == 3.0.0",
"h5py == 3.7.0",
"matplotlib == 3.6.0",
"numpy == 1.23.0",
"pandas",
"pathos",
"pyyaml",
"seaborn == 0.11.0",
"scikit-learn == 1.2.0",
"scipy == 1.9.0",
"torch == 1.13.0",
"torchsummary == 1.5.1",
"tqdm",
"umap-learn",
# DWI dependencies
"dipy == 1.7.0",
"fury == 0.8.0",
"nibabel == 4.0.0",
# Git dependencies
"scilpy @ git+https://github.com/scilus/scilpy@eb5d3fbe3cb2697a1ea90fe8ea88512e9686802b",
]
description = "Tractography learning"
dynamic = ["version"]
keywords = ["DL, dMRI, neuroimaging, tractography"]
maintainers = [
{name = "Jon Haitz Legarreta"}, {email = "[email protected]"}
]
name = "tractolearn"
readme = "README.md"
requires-python = ">=3.10"
[project.optional-dependencies]
test = [
"hypothesis >= 6.8.0",
"pytest == 7.2.0",
"pytest-cov",
"pytest-pep8",
"pytest-xdist",
"pytest_console_scripts == 1.3.0",
]
dev = [
"black == 22.12",
"flake8 == 3.9.2",
"flake8-docstrings == 1.6.0",
"isort == 5.12.0",
"pre-commit >= 2.9.0",
]
doc = [
"sphinx < 7.0.0", # 7.0.0 is incompatible with rtd-theme
"sphinx-autodoc-typehints",
"sphinx-rtd-theme",
# "toml",
]
[project.scripts]
ae_bundle_streamlines = "scripts:ae_bundle_streamlines.main"
ae_find_thresholds = "scripts:ae_find_thresholds.main"
ae_generate_streamlines = "scripts:ae_generate_streamlines.main"
ae_train = "scripts:ae_train.main"
fetch_data = "scripts:fetch_data.main"
[options.extras_require]
all = [
"%(test)s",
]
[project.urls]
homepage = "https://github.com/scil-vital/tractolearn"
documentation = "https://tractolearn.readthedocs.io/en/latest/"
repository = "https://github.com/scil-vital/tractolearn"
[tool.black]
line-length = 79
target-version = ["py310"]
exclude ='''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| data # also separately exclude project-specific files
# and folders in the root of the project
)
'''
[tool.isort]
profile = "black"
line_length = 79
src_paths = ["tractolearn"]
[tool.setuptools.packages]
find = {} # Scanning implicit namespaces is active by default
[tool.setuptools_scm]
write_to = "tractolearn/_version.py"