-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
145 lines (129 loc) · 3.22 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[build-system]
requires = ["hatchling", "hatch-vcs", "nipreps-versions"]
build-backend = "hatchling.build"
[project]
name = "fMRIPost-tedana"
description = "Run tedana in a BIDS App."
readme = "long_description.rst"
authors = [{name = "The ME-ICA Developers", email = ""}]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Image Recognition",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
license = {file = "LICENSE"}
requires-python = ">=3.8"
dependencies = [
"looseversion",
"nibabel >= 4.0.1",
"nipype >= 1.8.5",
"nitime",
"niworkflows @ git+https://github.com/nipreps/niworkflows.git@master",
"numpy >= 1.22",
"packaging",
"pandas",
"psutil >= 5.4",
"pybids >= 0.15.2",
"pydra",
"requests",
"tedana >= 0.0.9",
"templateflow >= 23.0.0",
"toml",
"codecarbon",
"APScheduler",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/ME-ICA/tedana"
Documentation = "https://tedana.readthedocs.io"
Paper = ""
"Docker Images" = "https://hub.docker.com/r/me-ica/fmripost_tedana/tags/"
[project.optional-dependencies]
doc = [
"pydot >= 1.2.3",
"sphinx >= 5",
"sphinx-argparse",
"sphinx_rtd_theme>=0.5.2",
]
dev = [
"black ~= 22.3.0",
"pre-commit",
"isort ~= 5.10.1",
"flake8-pyproject",
]
duecredit = ["duecredit"]
resmon = []
container = [
"fmripost_tedana[telemetry]",
# templateflow extras
"datalad",
"datalad-osf",
]
telemetry = [
"migas >= 0.3.0",
"sentry-sdk >= 1.3",
]
test = [
"coverage",
"pytest",
"pytest-cov",
"pytest-env",
]
maint = [
"fuzzywuzzy",
"python-Levenshtein",
]
# Aliases
docs = ["fmripost_tedana[doc]"]
tests = ["fmripost_tedana[test]"]
all = ["fmripost_tedana[doc,maint,telemetry,test]"]
[project.scripts]
fmripost_tedana = "fmripost_tedana.cli.run:main"
#
# Hatch configurations
#
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.sdist]
exclude = [".git_archival.txt"] # No longer needed in sdist
[tool.hatch.build.targets.wheel]
packages = ["fmripost_tedana"]
exclude = [
"fmripost_tedana/data/tests/work", # Large test data directory
]
## The following two sections configure setuptools_scm in the hatch way
[tool.hatch.version]
source = "vcs"
raw-options = { version_scheme = "nipreps-calver" }
[tool.hatch.build.hooks.vcs]
version-file = "fmripost_tedana/_version.py"
#
# Developer tool configurations
#
[tool.black]
line-length = 99
target-version = ['py39']
skip-string-normalization = true
[tool.isort]
profile = 'black'
[tool.flake8]
max-line-length = "99"
doctests = "False"
exclude = "*build/"
ignore = ["W503", "E203"]
per-file-ignores = [
"**/__init__.py : F401",
"docs/conf.py : E265",
]
[tool.pytest.ini_options]
norecursedirs = [".git"]
addopts = "-svx --doctest-modules"
doctest_optionflags = "ALLOW_UNICODE NORMALIZE_WHITESPACE ELLIPSIS"
env = "PYTHONHASHSEED=0"
filterwarnings = ["ignore::DeprecationWarning"]
junit_family = "xunit2"