Skip to content

Commit 095056c

Browse files
committed
- Switch setuptools → hatchling as build backend. - Switch setuptools_scm → versioningit as version generator.
1 parent dbcdadd commit 095056c

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

pyproject.toml

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[build-system]
2-
requires = ["build", "setuptools-scm"]
2+
requires = ["hatchling", "versioningit"]
3+
build-backend = "hatchling.build"
34

45
[project]
56
name = "sdmx1"
@@ -69,6 +70,10 @@ exclude_also = [
6970
"if TYPE_CHECKING:",
7071
]
7172

73+
[tool.hatch]
74+
build.targets.wheel.packages = ["sdmx"]
75+
version.source = "versioningit"
76+
7277
[tool.mypy]
7378
files = [
7479
"conftest.py",
@@ -108,8 +113,5 @@ ignore = ["E501", "W191"]
108113
# - .writer.pandas.write_dataset: 12
109114
mccabe.max-complexity = 10
110115

111-
[tool.setuptools.packages]
112-
find = {}
113-
114-
[tool.setuptools_scm]
115-
local_scheme = "no-local-version"
116+
[tool.versioningit]
117+
default-version = "0.1.dev1" # Match setuptools-scm

0 commit comments

Comments
 (0)