Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- Switch setuptools → hatchling as build backend.
- Switch setuptools_scm → versioningit as version generator.
  • Loading branch information
khaeru committed Jan 13, 2025
1 parent f36e5aa commit 59d267f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[build-system]
requires = ["build", "setuptools-scm"]
requires = ["hatchling", "versioningit"]
build-backend = "hatchling.build"

[project]
name = "sdmx1"
Expand Down Expand Up @@ -69,6 +70,10 @@ exclude_also = [
"if TYPE_CHECKING:",
]

[tool.hatch]
build.targets.wheel.packages = ["sdmx"]
version.source = "versioningit"

[tool.mypy]
files = [
"conftest.py",
Expand Down Expand Up @@ -108,8 +113,5 @@ ignore = ["E501", "W191"]
# - .writer.pandas.write_dataset: 12
mccabe.max-complexity = 10

[tool.setuptools.packages]
find = {}

[tool.setuptools_scm]
local_scheme = "no-local-version"
[tool.versioningit]
default-version = "0.1.dev1" # Match setuptools-scm

0 comments on commit 59d267f

Please sign in to comment.