-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (66 loc) · 2.4 KB
/
pyproject.toml
File metadata and controls
73 lines (66 loc) · 2.4 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
[build-system]
requires = ["setuptools>=65.5.0", "wheel", "setuptools-scm", "numpy"]
build-backend = "setuptools.build_meta"
[project]
name = "natmeeg"
dynamic = ["version"]
description = "A library to process M/EEG data with a set of utility functions with a framework focused on continuous recordings and naturalistic stimuli."
authors = [
{name = "Hugo Weissbart", email = "hugo.weissbart@donders.ru.nl"}
]
readme = "README.md"
license = "GPL-3.0-or-later"
license-files = ["LICENSE"]
requires-python = ">=3.10"
keywords = ["EEG", "neuroscience", "signal processing"]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research"
]
dependencies = [
"numpy>=1.21.0",
"scipy>=1.7.0",
"scikit-learn>=1.0.0",
"pandas>=1.3.0",
"matplotlib>=3.4.0",
"h5py>=3.3.0",
"psutil>=5.8.0",
"tqdm>=4.62.0"
]
[project.urls]
Homepage = "https://github.com/Hugo-W/pyEEG"
Documentation = "https://hugo-w.github.io/pyEEG-docs/"
Repository = "https://github.com/Hugo-W/pyEEG"
Issues = "https://github.com/Hugo-W/pyEEG/issues"
# C Extensions
# Setup hook does not work for now.
# Still using a minmal setup.py to build the C extensions.
# [tool.setuptools]
# ext-modules = [
# {name = "pyeeg.bin.gammatone_c", sources = ["pyeeg/gammatone_c/gammatone_c.c"]},
# {name = "pyeeg.bin.makeRateMap_c", sources = ["pyeeg/gammatone_c/makeRateMap_c.c"]},
# ]
# setup-hooks = ["setup_hooks.numpy_includes"]
# This might be ignored by setuptools-scm see: https://github.com/pypa/setuptools/issues/3246#issuecomment-1087644509s
# So I have a MANIFEST.in anyway
[tool.setuptools.packages.find]
where = ["."]
include = ["pyeeg", "pyeeg.*"]
exclude = ["tests", "docs", "*.egg-info", "build", "dist", "setup_hooks"]
#
[tool.setuptools]
package-dir = {"pyeeg" = "pyeeg"}
# This allows you to use `pip install .[docs]` to install optional dependencies.
[project.optional-dependencies]
mne = ["mne"]
docs = ["sphinx", "sphinx-rtd-theme", "nbsphinx"]
full = ["mne", "sphinx", "sphinx-rtd-theme", "nbsphinx"]
[tool.setuptools.package-data]
pyeeg = ["examples/*.ipynb", "pyeeg/bin/*dll", "pyeeg/bin/*so", "pyeeg/bin/*dylib"]
[tool.setuptools_scm]
write_to = "pyeeg/version.py"
local_scheme = "no-local-version"