-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathpyproject.toml
More file actions
205 lines (186 loc) · 4.28 KB
/
pyproject.toml
File metadata and controls
205 lines (186 loc) · 4.28 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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=61.0", "wheel>=0.37.1"]
[project]
name = "bcipy"
version = "2.0.0"
authors = [
{name="CAMBI", email="cambi_support@googlegroups.com"},
]
description = "Python Software for Brain-Computer Interface Development."
readme = "README.md"
requires-python = ">3.8,<3.11"
classifiers = [
'License :: Other/Proprietary License',
'Topic :: Scientific/Engineering :: Human Machine Interfaces',
'Intended Audience :: Science/Research',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
]
dependencies = [
"textslinger~=0.1.1",
"attrdict3==2.0.2",
"EDFlib-Python==1.0.8",
"torch==2.2.0",
"construct==2.8.14",
"mne==1.6.1",
"mne-bids==0.14.0",
"pyobjc==7.3;platform_system=='Darwin'",
"pybv==0.7.5",
"pyo==1.0.5",
"pyglet<=1.5.27,>=1.4",
"PsychoPy==2025.1.1",
"openpyxl==3.1.2",
"numpy==1.24.4",
"sounddevice==0.4.4",
"SoundFile==0.12.1",
"scipy==1.10.1",
"scikit-learn==1.2.2",
"seaborn==0.13.2",
"matplotlib==3.7.5",
"pylsl==1.16.2",
"pandas==2.0.3",
"psutil==5.7.2",
"Pillow==10.2.0",
"py-cpuinfo==9.0.0",
"pyopengl==3.1.7",
"PyQt6==6.7.1",
"PyQt6-sip==13.8",
"pywavelets==1.4.1",
"tqdm==4.62.2",
"rich==13.9.4",
"reportlab==4.2.0",
"tables==3.7.0",
"pyWinhook==1.6.2;python_version=='3.9' and platform_system=='Windows'",
"WxPython==4.2.1;platform_system!='Linux'",
]
[project.license]
file = "LICENSE.md"
[project.optional-dependencies]
dev = [
"autopep8==1.5.7",
"coverage>=7.0",
"flake8==5.0.4",
"Flake8-pyproject==1.2.3",
"flake8-docstrings==1.7.0",
"mypy==1.13",
"lxml",
"mock",
"mockito",
"pylint",
"pytest",
"pytest-mpl",
]
release = [
"twine==3.2.0",
"build==1.2.2.post1",
"pyinstaller==6.13.0",
"wheel==0.43.0",
]
[project.scripts]
bcipy = "bcipy.main:bcipy_main"
bcipy-erp-viz = "bcipy.helpers.visualization:erp"
bcipy-replay = "bcipy.simulator.task.replay_session:main"
bcipy-sim = "bcipy.simulator:main"
bcipy-train = "bcipy.signal.model.offline_analysis:main"
bcipy-params = "bcipy.gui.parameters.params_form:main"
[project.urls]
"Homepage" = "https://www.cambi.tech/"
"Documentation" = "https://bcipy.github.io/"
"Source" = "https://github.com/CAMBI-tech/BciPy"
[tool.setuptools]
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
platforms = ["Linux", "Windows", "Mac OS-X"]
include-package-data = true
zip-safe = true
# Python modules and packages that are included in the
# distribution package (and therefore become importable)
[tool.setuptools.packages.find]
exclude = ["tests", "demo", "scripts"]
[tool.distutils.bdist_wheel]
universal = true
[tool.coverage.run]
omit = [
"*__init__*",
"*__main__*",
"*usr/local/lib*",
"*tests*",
"*test*",
"*demo*",
"*exceptions.py",
"*visualization.py",
"*/gui/*",
"*/simulator/ui/*"
]
source = ["bcipy"]
branch = true
[tool.coverage.report]
exclude_also = [
"pragma: no cover",
"def __repr__",
"def __str__",
"raise NotImplementedError",
"@abstract",
"if __name__ == .__main__.:",
"logging.getLogger(__name__)",
"raise AssertionError",
"@(abc\\.)?abstractmethod",
"pass",
]
[tool.flake8]
max_complexity = 10
max_line_length = 120
application_import_names = "bcipy"
ignore = [
"D100",
"D105",
"D107",
"D202",
"D204",
"D205",
"D400",
"D401",
"D403",
"D412",
"F841",
"F821",
"E402",
"E501",
"C901",
"W503",
"W504",
]
exclude = [
"tests",
"__init__.py",
"demo",
"signal", # TODO: Remove when fixed
"gui",
]
[tool.isort]
skip = [".gitignore"]
[tool.pytest.ini]
markers = "slow"
[tool.mypy]
warn_return_any = false
warn_unused_configs = false
ignore_missing_imports = true
follow_imports = "skip"
strict_optional = true
disallow_incomplete_defs = false
check_untyped_defs = true
no_implicit_optional = true
exclude = [
"tests",
"demo",
"gui",
"scripts",
"acquisition",
"display.paradigm",
"signal.model",
"task.control",
"core.parameters",
]