Migrate from setuptools + setuptools_scm to hatchling + hatch-vcs

This commit is contained in:
Hugo van Kemenade 2022-09-26 14:01:16 +03:00
parent 98943d606e
commit fc288040a8

View file

@ -1,8 +1,8 @@
[build-system]
build-backend = "setuptools.build_meta"
build-backend = "hatchling.build"
requires = [
"setuptools>=61.2",
"setuptools-scm",
"hatch-vcs",
"hatchling",
]
[project]
@ -57,17 +57,11 @@ Homepage = "https://github.com/pylast/pylast"
Source = "https://github.com/pylast/pylast"
[tool.hatch]
version.source = "vcs"
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"
[tool.isort]
profile = "black"
[tool.setuptools]
package-dir = {"" = "src"}
license-files = ["LICENSE.txt"]
include-package-data = false
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
[tool.setuptools_scm]
local_scheme = "no-local-version"