Skip to content

Commit ddae43a

Browse files
tiranclaude
andcommitted
build: replace setuptools with hatchling
Our team standardizes on hatchling as a lightweight build backend. Replace setuptools + setuptools_scm with hatchling + hatch-vcs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f15085f commit ddae43a

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# SPDX-License-Identifier: Apache-2.0
22

33
[build-system]
4-
requires = ["setuptools>=64", "setuptools_scm>=8"]
5-
build-backend = "setuptools.build_meta"
4+
requires = ["hatchling>=1.25", "hatch-vcs>=0.4"]
5+
build-backend = "hatchling.build"
66

77
[project]
88
name = "elfdeps"
@@ -74,9 +74,8 @@ exclude_lines = [
7474
"if typing.TYPE_CHECKING",
7575
]
7676

77-
[tool.setuptools_scm]
78-
# do not include +gREV local version, required for Test PyPI upload
79-
local_scheme = "no-local-version"
77+
[tool.hatch.version]
78+
source = "vcs"
8079

8180
[tool.ruff]
8281
target-version = "py311"

0 commit comments

Comments
 (0)