Skip to content

Commit

Permalink
add setuptool_scm section
Browse files Browse the repository at this point in the history
This should enable our tag-versioned builds.
  • Loading branch information
JacobCallahan authored Aug 30, 2023
1 parent 31962f8 commit 0bdccc6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools", "setuptools-scm", "wheel", "twine"]
requires = ["setuptools", "setuptools-scm[toml]", "wheel"]
build-backend = "setuptools.build_meta"

[project]
Expand Down Expand Up @@ -63,6 +63,8 @@ include-package-data = true
[tool.setuptools.packages.find]
include = ["broker"]

[tool.setuptools_scm] # same as use_scm_version=True in setup.py

[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["-v", "-l", "--color=yes", "--code-highlight=yes"]
Expand Down

0 comments on commit 0bdccc6

Please sign in to comment.