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 14, 2025
1 parent e92c471 commit 5dc21df
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 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]
dynamic = ["version"]
Expand Down Expand Up @@ -57,6 +58,9 @@ exclude_also = [
]
omit = ["dsss/storage/google_cloud_storage.py"]

[tool.hatch]
version.source = "versioningit"

[tool.mypy]
exclude = ["^build/"]

Expand All @@ -74,7 +78,5 @@ addopts = "--cov=dsss --cov-report="
select = ["C9", "E", "F", "I", "W"]
mccabe.max-complexity = 10

[tool.setuptools.packages]
find = {}

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

0 comments on commit 5dc21df

Please sign in to comment.