Skip to content

Commit

Permalink
setup: define package and update setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Nov 14, 2023
1 parent ad8fcf8 commit 13b7a45
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
requires = ["setuptools>=46", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

[project]
Expand Down Expand Up @@ -40,6 +40,9 @@ tracker = "https://github.com/DC-Analysis/dcnum/issues"
documentation = "https://dcnum.readthedocs.io/en/stable/"
changelog = "https://dcnum.readthedocs.io/en/stable/sec_changelog.html"

[tool.setuptools]
packages = ["dcnum"]

[tool.setuptools_scm]
write_to = "dcnum/_version.py"
version_scheme = "post-release"

0 comments on commit 13b7a45

Please sign in to comment.