Skip to content

Commit

Permalink
Add a pyproject.toml file.
Browse files Browse the repository at this point in the history
Remove setup.py
  • Loading branch information
Justin-Hoffman committed Dec 12, 2024
1 parent 38b1972 commit 52877a4
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 80 deletions.
49 changes: 49 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "neural-amp-modeler"
version = "0.11.0"
description = "Neural Amp Modeler"
authors = [
{name = "Steven Atkinson", email = "steven@atkinson.mn"},
]
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.8"
dependencies = [
"auraloss==0.3.0",
"matplotlib",
"pydantic>=2.0.0",
"pytorch_lightning",
"scipy",
"sounddevice",
"tensorboard",
"torch",
"tqdm",
"wavio>=0.0.5",
]

[project.optional-dependencies]
# Optional features
transformers-compat = [
"transformers>=4", # Issue-294
"numpy<2", # For older PyTorch versions; user must know when to include
]

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"

[tool.setuptools]
packages = ["nam"]
80 changes: 0 additions & 80 deletions setup.py

This file was deleted.

0 comments on commit 52877a4

Please sign in to comment.