-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpyproject.toml
99 lines (87 loc) · 1.71 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "bdpy"
version = "0.25.1"
description = "Brain decoder toolbox for Python"
authors = [
{ name = "Shuntaro C. Aoki", email = "[email protected]" }
]
readme = "README.md"
requires-python = ">= 3.6, < 3.12"
license = { file = "LICENSE" }
keywords = ["neuroscience", "neuroimaging", "brain decoding", "fmri", "machine learning"]
dependencies = [
"numpy>=1.20",
"scipy",
"scikit-learn",
"h5py",
"hdf5storage",
"pyyaml",
"pandas",
"tqdm",
]
[project.optional-dependencies]
caffe = [
"Pillow",
]
torch = [
"torch",
"torchvision",
"Pillow"
]
fig = [
"matplotlib",
"Pillow"
]
mri = [
"numpy<1.24",
"nibabel==3.2",
"nipy"
]
pipeline = [
"hydra-core",
"omegaconf"
]
all = [
"bdpy[caffe]",
"bdpy[torch]",
"bdpy[fig]",
"bdpy[mri]",
"bdpy[pipeline]"
]
dev = [
"bdpy[all]",
"fastl2lir"
]
[project.urls]
Homepage = "https://github.com/KamitaniLab/bdpy"
Repository = "https://github.com/KamitaniLab/bdpy"
"Bug Tracker" = "https://github.com/KamitaniLab/bdpy/issues"
[tool.rye]
managed = true
dev-dependencies = [
"bdpy[dev]",
"jupyter",
"pytest",
"pytest-cov",
"ruff",
"mypy"
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
only-include = ["bdpy"]
[tool.hatch.build.targets.sdist]
only-include = ["bdpy"]
[tool.ruff]
select = ["E", "F", "N", "D", "ANN", "B", "NPY", "RUF"]
ignore = ["E501", "ANN101", "D213", "D203"]
exclude = ["test"]
[tool.ruff.extend-per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.flake8-annotations]
mypy-init-return = true
[tool.pylint]
disable = "line-too-long"