Skip to content

Commit

Permalink
Try specifying type of versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
SylviaWhittle committed Sep 17, 2023
1 parent a619868 commit 02c990f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 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[toml]>=6.2", "wheel", "cmake"]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel", "cmake"]
build-backend = "setuptools.build_meta"

[project]
Expand All @@ -19,3 +19,4 @@ where = ["."]

[tool.setuptools_scm]
write_to = "python/_version.py"
version_scheme = "release-branch-semver"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@ def build_extension(self, ext: CMakeExtension) -> None:
setup(
ext_modules=[CMakeExtension("topo_libasd")],
cmdclass=dict(build_ext=CMakeBuild),
setup_requires=["setuptools, setuptools_scm"],
setup_requires=["setuptools_scm"],
use_scm_version=True,
)

0 comments on commit 02c990f

Please sign in to comment.