Skip to content

Commit

Permalink
Switch from setuptools to hatchling in pyproject.toml.
Browse files Browse the repository at this point in the history
  • Loading branch information
ezio-melotti authored Oct 13, 2023
1 parent 946ac53 commit e47c7e1
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
build-backend = "hatchling.build"
requires = [
"hatch-vcs",
"hatchling",
]

[project]
name = "sphinx-lint"
Expand Down Expand Up @@ -33,10 +36,11 @@ repository = "https://github.com/sphinx-contrib/sphinx-lint"
[project.scripts]
sphinx-lint = "sphinxlint.__main__:main"

[tool.setuptools]
packages = ["sphinxlint"]
include-package-data = false
dynamic.version.attr = "sphinxlint.__version__"
[tool.hatch]
version.source = "vcs"

[tool.hatch.version.raw-options]
local_scheme = "no-local-version"

[tool.black]

Expand Down

0 comments on commit e47c7e1

Please sign in to comment.