Skip to content

Commit

Permalink
Merge pull request #166 from neutrinoceros/bld/setuptools_scm_section
Browse files Browse the repository at this point in the history
MNT: add static configuration for `setuptools-scm`
  • Loading branch information
avalentino authored Jan 27, 2025
2 parents 2b5cbbc + 5e25e47 commit cceb1ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = [
"setuptools>=61.2",
"setuptools_scm>=6.2",
"setuptools_scm>=8.0.0",
"wheel",
"jinja2>=2.10.3",
"numpy>=2.0.0rc1",
Expand Down Expand Up @@ -47,6 +47,9 @@ include-package-data = false
exclude = ["erfa._dev"]
namespaces = false

[tool.setuptools_scm]
version_file = "erfa/_version.py"

[tool.pytest.ini_options]
minversion = "4.6"
testpaths = ["erfa", "docs", "README.rst"]
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ def get_extensions():
liberfadir=LIBERFADIR)

use_scm_version = {
'write_to': os.path.join('erfa', '_version.py'),
'version_scheme': guess_next_dev,
}

Expand Down

0 comments on commit cceb1ab

Please sign in to comment.