-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
174 lines (154 loc) · 4.33 KB
/
pyproject.toml
File metadata and controls
174 lines (154 loc) · 4.33 KB
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
dynamic = ["version"]
name = "eegdash"
authors = [
{ name = "Young Truong", email = "dt.young112@gmail.com" },
{ name = "Arnaud Delorme", email = "adelorme@ucsd.edu" },
{ name = "Aviv Dotan", email = "avivdot@bgu.post.ac.il" },
{ name = "Oren Shriki", email = "shrikio@bgu.ac.il" },
{ name = "Bruno Aristimunha", email = "b.aristimunha@gmail.com"}
]
description = "EEG data for machine learning"
readme = "README.md"
license = "BSD-3-Clause"
requires-python = ">=3.11"
classifiers = [
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Development Status :: 3 - Alpha",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"braindecode[hub]>=1.3.2",
"mne", # Source overridden in [tool.uv.sources]
"mne_bids>=0.18.0",
"numba",
"requests>=2.25.0",
"s3fs",
"tqdm",
"pymatreader",
"eeglabio",
"tabulate",
"rich",
"pyarrow",
"pandas>=2.0,<2.2", # Pin <2.2 due to wfdb ArrowStringArray compatibility
"pydantic",
]
[tool.uv]
override-dependencies = [
"mne>=0.0.0", # Override braindecode's mne>=1.11.0 constraint
"mne-bids>=0.0.0", # Override version constraint for git source
]
[tool.uv.sources]
# Solve this when we release a new version of braindecode and mne-python
braindecode = { git = "https://github.com/braindecode/braindecode.git", branch = "master" }
mne = { git = "https://github.com/mne-tools/mne-python.git", branch = "main" }
mne_bids = { git = "https://github.com/bruAristimunha/mne-bids.git", branch = "fix-coordenation" }
[project.urls]
Homepage = "https://github.com/sccn/EEG-Dash-Data"
Issues = "https://github.com/sccn/EEG-Dash-Data/issues"
[project.optional-dependencies]
tests = [
'pytest',
'pytest-cov',
'pytest-sugar',
'codecov',
'pytest_cases',
'pytest-benchmark',
'pytest-xdist',
]
dev = [
"pre-commit",
"ipykernel",
"lightning>=2.0",
"torchmetrics>=0.7",
"scikit-learn",
"tensorboard"
]
docs = [
"sphinx",
"sphinx_design",
"sphinx_gallery",
"sphinx_rtd_theme",
"pydata-sphinx-theme",
"sphinx-autobuild",
"sphinx-copybutton",
"sphinx-sitemap",
"numpydoc",
"memory_profiler",
"ipython",
"lightgbm",
"plotly",
"nbformat",
"graphviz",
"neato",
"moabb", # remove when all the moabb datasets are digested
]
digestion = [
"pybids",
"gql[requests]",
"requests_toolbelt",
"beautifulsoup4",
"python-dotenv",
"selenium",
"httpx",
"tenacity",
"hishel",
"pydantic>=2",
"PyGithub>=2",
]
all = [
"eegdash[docs]",
"eegdash[dev]",
"eegdash[tests]",
"eegdash[digestion]",
]
[tool.setuptools]
py-modules = []
include-package-data = true
[tool.setuptools.dynamic]
version = {attr = "eegdash.__version__"}
[tool.setuptools.packages.find]
where = ["."]
include = ["eegdash*"]
exclude = []
namespaces = false
[tool.setuptools.package-data]
"eegdash" = ["dataset_summary.csv"]
"eegdash.dataset" = ["dataset_summary.csv"]
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
ignore-init-module-imports = true
select = ["E", "W", "F", "D", "I", "NPY201"]
ignore = ["E402", "E501", "D100", "D101", "D102", "D103", "D104", "D105", "D107", "D205", "D400", "D415", "D417", "F403", "D401", "E741", "E722", "D419"]
[tool.ruff.lint.per-file-ignores]
"examples/*" = ["I"]
[tool.ruff.lint.isort]
known-first-party = ["eegdash", "braindecode"]
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_functions = ["test_*"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"benchmark: marks tests as benchmarks (run with '--benchmark-enable')",
]
addopts = "-m 'not slow and not benchmark' -ra --durations=10"