-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (57 loc) · 2.21 KB
/
Copy pathpyproject.toml
File metadata and controls
64 lines (57 loc) · 2.21 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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "makeabilitylab-signals"
version = "2.0.0"
description = "Helper packages (makelab, gesturerec) for the Makeability Lab signals & ML notebooks used in the Physical Computing interactive textbook."
readme = "README.md"
requires-python = ">=3.11"
license = { file = "LICENSE" }
authors = [{ name = "Jon E. Froehlich and the Makeability Lab" }]
keywords = ["signal-processing", "accelerometer", "gesture-recognition", "hci", "ubicomp", "education"]
# Runtime dependencies (unpinned lower bounds). For a fully pinned, reproducible
# environment use requirements.txt or environment.yml instead.
dependencies = [
"numpy>=1.26",
"scipy>=1.11",
"matplotlib>=3.8",
"pandas>=2.1",
"scikit-learn>=1.4",
"seaborn>=0.13",
"librosa>=0.10",
]
[project.optional-dependencies]
# Everything needed to launch and run the notebooks interactively.
notebooks = [
"jupyterlab>=4.2",
"notebook>=7.2",
"ipykernel>=6.29",
"ipympl>=0.9",
]
# Test stack: pytest for the helper-package unit tests, nbmake for headless
# "does every notebook still execute" smoke tests, pytest-xdist to run them in
# parallel. Install with: pip install -e ".[test]"
test = [
"pytest>=8",
"nbmake>=1.5",
"pytest-xdist>=3.6",
"ipykernel>=6.29", # nbmake needs a kernel to execute the notebooks
]
[project.urls]
Homepage = "https://makeabilitylab.github.io/physcomp/signals/"
Repository = "https://github.com/makeabilitylab/signals"
# The two helper packages live next to the notebooks that use them. We map them
# to top-level import names so `import makelab` / `import gesturerec` work from a
# fresh clone after `pip install -e .`, with no sys.path hacks and without moving
# the source out of its lesson folder.
[tool.setuptools]
packages = ["makelab", "gesturerec"]
[tool.setuptools.package-dir]
makelab = "Tutorials/makelab"
gesturerec = "Projects/GestureRecognizer/gesturerec"
# Unit tests live in tests/. The notebook smoke tests are run explicitly by path
# (e.g. `pytest --nbmake Tutorials/`), so testpaths intentionally lists only tests/
# to keep a bare `pytest` fast and notebook-free.
[tool.pytest.ini_options]
testpaths = ["tests"]