pyproject.toml (1399B)
1 [build-system] 2 requires = ["setuptools>=61", "wheel", "setuptools-scm"] 3 build-backend = "setuptools.build_meta" 4 5 [project] 6 name = "neural-amp-modeler" 7 description = "Neural Amp Modeler" 8 authors = [ 9 {name = "Steven Atkinson", email = "[email protected]"}, 10 ] 11 readme = "README.md" 12 license = {file = "LICENSE"} 13 requires-python = ">=3.8" 14 dependencies = [ 15 "auraloss==0.3.0", 16 "matplotlib", 17 "numpy<2", 18 "pydantic>=2.0.0", 19 "pytorch_lightning", 20 "scipy", 21 "sounddevice", 22 "tensorboard", 23 "torch", 24 # `transformers` is not required, but if you have it, it needs to be recent 25 # enough so I'm adding it. 26 "transformers>=4", 27 "tqdm", 28 "wavio>=0.0.5", 29 ] 30 dynamic = ["version"] 31 32 [project.optional-dependencies] 33 # Optional features 34 transformers-compat = [ 35 "transformers>=4", # Issue-294 36 "numpy<2", # For older PyTorch versions; user must know when to include 37 ] 38 39 test = [ 40 "pytest", 41 "pytest-mock", 42 "requests", 43 ] 44 45 [project.urls] 46 homepage = "https://github.com/sdatkinson/" 47 48 [project.scripts] 49 nam = "nam.cli:nam_gui" 50 nam-full = "nam.cli:nam_full" 51 nam-hello-world = "nam.cli:nam_hello_world" 52 53 [tool.setuptools_scm] 54 version_scheme = "guess-next-dev" 55 local_scheme = "no-local-version" 56 write_to = "nam/_version.py" 57 58 [tool.setuptools] 59 packages = ["nam", "nam.train", "nam.train.gui", "nam.train.gui._resources", "nam.models", "nam.models._resources" ]