-
Notifications
You must be signed in to change notification settings - Fork 63
/
pyproject.toml
136 lines (127 loc) · 3.35 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
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pynapple"
version = "0.7.1"
description = "PYthon Neural Analysis Package Pour Laboratoires d’Excellence"
readme = "README.md"
authors = [{ name = "Guillaume Viejo", email = "[email protected]" }]
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
keywords = ["neuroscience"]
dependencies = [
"pandas>1.0.3",
"numpy>=1.17.4",
"scipy>=1.3.2",
"numba>=0.46.0",
"pynwb>=2.0.0",
"tabulate",
"h5py",
"rich"
]
requires-python = ">=3.8"
[tool.setuptools.packages.find]
include = ["pynapple", "pynapple.*"]
[project.urls]
homepage = "http://pynapple.org/"
documentation = "http://pynapple.org/"
repository = "https://github.com/pynapple-org/pynapple"
##########################################################################
# Optional dependencies
##########################################################################
[project.optional-dependencies]
jax = [
"pynajax"
]
dev = [
"black>=24.2.0", # Code formatter
"isort", # Import sorter
"pip-tools", # Dependency management
"pytest", # Testing framework
"flake8", # Code linter
"coverage", # Test coverage measurement
]
doc = [
"matplotlib",
"zarr",
"seaborn",
"tqdm",
"numpydoc",
"sphinx",
"pydata-sphinx-theme",
"sphinx-autodoc-typehints",
"sphinx-copybutton",
"sphinx-design",
"sphinx-issues",
"sphinxcontrib-apidoc",
"myst-parser",
"myst-nb",
"dandi",
"sphinx-autobuild",
"sphinx-contributors"
# "sphinx-exec-code"
]
docs = [
"mkdocs", # Documentation generator
"mkdocstrings[python]", # Python-specific plugin for mkdocs
"mkdocs-section-index", # Plugin for generating a section index in mkdocs
"mkdocs-gen-files", # Plugin for generating additional files in mkdocs
"mkdocs-literate-nav", # Plugin for literate-style navigation in mkdocs
"mkdocs-gallery", # Plugin for adding image galleries to mkdocs
"mkdocs-material",
"matplotlib",
"seaborn",
"zarr",
"dandi"
]
dandi = [
"dandi", # Dandi package
"fsspec",
"requests",
"aiohttp",
]
[tool.black]
target-version = ['py36', 'py37', 'py38', 'py39']
skip-string-normalization = false
exclude = '''
(
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.md
| \.toml
| \.cfg
| \.txt
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| examples
)/
)
'''
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
[tool.coverage.run]
omit = [
"pynapple/io/cnmfe.py",
"pynapple/io/neurosuite.py",
"pynapple/io/phy.py",
"pynapple/io/suite2p.py",
"pynapple/core/_jitted_functions.py" # coverage doesn't work with numba
]