Skip to content

Commit

Permalink
version with setuptools_scm
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin-Hoffman committed Dec 12, 2024
1 parent bf76490 commit d9070b1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ share/python-wheels/
.installed.cfg
*.egg
MANIFEST
nam/_version.py

# PyInstaller
# Usually these files are written by a python script from a template
Expand Down
1 change: 0 additions & 1 deletion nam/_version.py

This file was deleted.

10 changes: 7 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
[build-system]
requires = ["setuptools>=42", "wheel"]
requires = ["setuptools>=61", "wheel", "setuptools-scm"]
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"},
Expand All @@ -24,6 +23,7 @@ dependencies = [
"tqdm",
"wavio>=0.0.5",
]
dynamic = ["version"]

[project.optional-dependencies]
# Optional features
Expand All @@ -45,6 +45,10 @@ homepage = "https://github.com/sdatkinson/"
nam = "nam.cli:nam_gui"
nam-full = "nam.cli:nam_full"

[tool.setuptools_scm]
version_scheme = "guess-next-dev"
local_scheme = "no-local-version"
write_to = "nam/_version.py"

[tool.setuptools]
packages = ["nam", "nam.train", "nam.train.gui", "nam.train.gui._resources", "nam.models", "nam.models._resources" ]

0 comments on commit d9070b1

Please sign in to comment.