-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
120 lines (101 loc) · 2.86 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
[project]
name = "spikewrap"
authors = [{name = "Joe Ziminski", email= "[email protected]"}]
description = "Run extracellular electrophysiology analysis with SpikeInterface"
readme = "README.md"
requires-python = ">=3.9.0"
dynamic = ["version"]
license = {text = "BSD-3-Clause"}
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
"License :: OSI Approved :: BSD License",
]
dependencies = [
"spikeinterface[full] @git+https://github.com/JoeZiminski/spikeinterface.git@random_chunks_chunk_size_to_warning",
"probeinterface",
"neo==0.12.0",
"submitit",
"PyYAML",
"toml",
"typeguard",
"datashuttle",
"slurmio @git+https://github.com/neuroinformatics-unit/slurmio.git",
"psutil",
# sorter-specific
"tridesclous",
# "spyking-circus", TODO: this is not straightforward, requires mpi4py. TBD if we want to manage this.
"mountainsort5",
"docker; platform_system=='Windows'",
"docker; platform_system=='Darwin'",
"spython; platform_system=='Linux'", # I think missing from SI?
"cuda-python; platform_system != 'Darwin'",
]
[project.urls]
homepage = "https://github.com/JoeZiminski/spikewrap"
bug_tracker = "https://github.com/JoeZiminski/spikewrap/issues"
documentation = "https://github.com/JoeZiminski/spikewrap"
source_code = "https://github.com/JoeZiminski/spikewrap"
user_support = "https://github.com/JoeZiminski/spikewrap/issues"
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"coverage",
"tox",
"black",
"mypy",
"pre-commit",
"ruff",
"setuptools_scm",
"types-setuptools",
"types-PyYAML",
"types-toml",
]
[build-system]
requires = [
"setuptools>=45",
"wheel",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["spikewrap*"]
exclude = ["tests*"]
[tool.pytest.ini_options]
addopts = "--cov=spikewrap"
[tool.black]
target-version = ['py38', 'py39', 'py310']
skip-string-normalization = false
line-length = 88
[tool.setuptools_scm]
[tool.check-manifest]
ignore = [
"*.yaml",
"tox.ini",
"tests/*",
"tests/test_unit/*",
"tests/test_integration/*",
".flake8"
]
[tool.ruff]
line-length = 79
exclude = ["__init__.py", "pyproject.toml", "build",".eggs"]
select = ["I", "E", "F", "TCH", "TID252"]
fix = true
ignore = ["E203","E501","E731","C901","W291","W293","E402","E722"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.mccabe]
max-complexity = 18
[tool.ruff.flake8-tidy-imports]
ban-relative-imports = "all"
[project.scripts]
spikewrap = "spikewrap.command_line_interface:main"