-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (65 loc) · 1.94 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (65 loc) · 1.94 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
[build-system]
requires = ["hatchling>=1.27,<2"]
build-backend = "hatchling.build"
[project]
name = "nilmbench"
version = "0.1.0"
description = "Reproducible benchmark runner for non-intrusive load monitoring"
readme = "README.md"
requires-python = ">=3.11,<3.12"
license = { text = "Apache-2.0" }
authors = [{ name = "NILMbench developers" }]
dependencies = []
[project.optional-dependencies]
runtime = [
"nilm-metadata @ git+https://github.com/nilmtk/nilm_metadata.git@59c9990de4836d77c0dcd807bd4293e39e0cc314",
"nilmtk @ git+https://github.com/nilmtk/nilmtk.git@8967bd1fde24d0c8d89408179dd2499d8e60b4c3",
"numpy>=1.26,<2",
"optuna>=4,<5",
"pandas>=2,<3",
]
torch-runtime = [
"filelock>=3,<4",
"fsspec>=2024,<2027",
"jinja2>=3.1,<4",
"networkx>=3,<4",
"sympy==1.13.1",
"typing-extensions>=4.10,<5",
]
build-runtime = [
"hatchling>=1.27,<2",
]
benchmark = [
"nilm-metadata @ git+https://github.com/nilmtk/nilm_metadata.git@59c9990de4836d77c0dcd807bd4293e39e0cc314",
"nilmtk @ git+https://github.com/nilmtk/nilmtk.git@8967bd1fde24d0c8d89408179dd2499d8e60b4c3",
"nilmtk-contrib[torch] @ git+https://github.com/nilmtk/nilmtk-contrib.git@051d1ef5466c8ce31e5fe4322b4be47c76e45148",
"numpy>=1.26,<2",
"optuna>=4,<5",
"pandas>=2,<3",
]
dev = [
"numpy>=1.26,<2",
"pandas>=2,<3",
"pytest>=8,<9",
"pytest-cov>=6,<8",
"ruff>=0.11,<1",
]
[project.scripts]
nilmbench = "nilmbench.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/nilmbench"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.uv]
override-dependencies = [
"nilm-metadata @ git+https://github.com/nilmtk/nilm_metadata.git@59c9990de4836d77c0dcd807bd4293e39e0cc314",
"nilmtk @ git+https://github.com/nilmtk/nilmtk.git@8967bd1fde24d0c8d89408179dd2499d8e60b4c3",
]
[tool.hatch.build.targets.wheel.force-include]
"configs" = "nilmbench/configs"
[tool.pytest.ini_options]
addopts = "-q"
testpaths = ["tests"]
[tool.ruff]
line-length = 88
target-version = "py311"