We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c211671 + 83d4d7a commit e9acce9Copy full SHA for e9acce9
pyproject.toml
@@ -1,8 +1,8 @@
1
[build-system]
2
-build-backend = "setuptools.build_meta"
+build-backend = "hatchling.build"
3
requires = [
4
- "setuptools>=61.2",
5
- "setuptools_scm[toml]>=6.2",
+ "hatch-vcs",
+ "hatchling",
6
]
7
8
[project]
@@ -62,6 +62,14 @@ target_version = ["py37"]
62
[tool.hatch]
63
version.source = "vcs"
64
65
+[tool.hatch.build]
66
+artifacts = [
67
+ "*.mo",
68
+]
69
+
70
+[tool.hatch.version.raw-options]
71
+local_scheme = "no-local-version"
72
73
[tool.isort]
74
profile = "black"
75
@@ -70,10 +78,3 @@ convention = "google"
78
79
[tool.pytest.ini_options]
80
addopts = "--color=yes"
-
-[tool.setuptools.packages.find]
-where = ["src"]
76
-namespaces = false
77
-[tool.setuptools_scm]
-local_scheme = "no-local-version"
setup.py
0 commit comments