-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
78 lines (72 loc) · 1.39 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "fmralign"
description = "Functional alignment for fMRI"
readme = "README.md"
requires-python = ">=3.9"
license = { file="LICENSE" }
authors = [
{ name="Elizabeth DuPre", email="emd222@cornell.edu" },
{ name="Thomas Bazeille"},
{ name="Bertrand Thirion"},
]
classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
"numpy<2",
"pandas",
"matplotlib",
"scikit-learn",
"joblib",
"scipy",
"nibabel",
"nilearn>=0.10.3",
"POT",
"fastsrm",
"fugw>=0.1.1",
"torch",
]
dynamic = ["version"]
[project.optional-dependencies]
# To use JAX-accelerated Optimal Transport
jax = ["jax", "ott-jax > 0.3.0"]
# For building the documentation
doc = [
"coverage",
"myst-parser",
"numpydoc",
"ruamel.yaml",
"sphinx",
"sphinx-copybutton",
"sphinx-design",
"sphinx-gallery",
"sphinxcontrib-bibtex",
"sphinxext-opengraph",
"furo"
]
# For running unit and docstring tests
test = [
"coverage",
"pytest>=6.0.0",
"pytest-cov",
]
# Useful for development
dev = [
"fmralign[jax,doc,test]",
"isort",
"flynt",
"black",
"flake8",
"flake8-use-fstring",
]
[tool.isort]
profile = "black"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "fmralign/_version.py"
[tool.hatch.metadata]
allow-direct-references = true