Migrate from setuptools + setuptools_scm to hatchling + hatch-vcs
This commit is contained in:
parent
98943d606e
commit
fc288040a8
|
@ -1,8 +1,8 @@
|
||||||
[build-system]
|
[build-system]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "hatchling.build"
|
||||||
requires = [
|
requires = [
|
||||||
"setuptools>=61.2",
|
"hatch-vcs",
|
||||||
"setuptools-scm",
|
"hatchling",
|
||||||
]
|
]
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
|
@ -57,17 +57,11 @@ Homepage = "https://github.com/pylast/pylast"
|
||||||
Source = "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]
|
[tool.isort]
|
||||||
profile = "black"
|
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"
|
|
||||||
|
|
Loading…
Reference in a new issue