Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (68 loc) · 1.65 KB
/
Copy pathpyproject.toml
File metadata and controls
77 lines (68 loc) · 1.65 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
75
76
77
[build-system]
requires = ["setuptools>=61", "wheel", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "neural-amp-modeler"
description = "Neural Amp Modeler"
authors = [
{name = "Steven Atkinson", email = "steven@atkinson.mn"},
]
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.10"
dependencies = [
"librosa",
"matplotlib",
"numpy",
"pydantic>=2.0.0",
"pytorch_lightning<=2.6.1", # Issue 656
"scipy", # Required by auraloss
"sounddevice",
"tensorboard",
"torch",
# `transformers` is not required, but if you have it, it needs to be recent
# enough so I'm adding it.
"transformers>=4",
"tqdm",
"wavio>=0.0.5",
]
dynamic = ["version"]
[project.optional-dependencies]
# Optional features
transformers-compat = [
"transformers>=4", # Issue-294
"numpy", # NB: Older PyTorch versions require numpy<2
]
test = [
"pytest",
"pytest-mock",
"requests",
]
[project.urls]
homepage = "https://github.com/sdatkinson/"
[project.scripts]
nam = "nam.cli:nam_gui"
nam-full = "nam.cli:nam_full"
nam-hello-world = "nam.cli:nam_hello_world"
[tool.setuptools_scm]
version_scheme = "guess-next-dev"
local_scheme = "no-local-version"
write_to = "nam/_version.py"
[tool.setuptools]
include-package-data = true
packages = [
"nam",
"nam._dependencies",
"nam._dependencies.auraloss",
"nam.train",
"nam.train._resources",
"nam.train.gui",
"nam.train.gui._resources",
"nam.models",
"nam.models._resources",
"nam.models.wavenet",
]
[tool.setuptools.package-data]
"nam.train._resources" = ["*.json"]
[tool.pytest.ini_options]
addopts = "-x"