Skip to content

Commit e9acce9

Browse files
authored
Merge pull request #79 from hugovk/setuptools-to-hatchling
Replace setuptools with hatchling
2 parents c211671 + 83d4d7a commit e9acce9

File tree

2 files changed

+11
-15
lines changed

2 files changed

+11
-15
lines changed

pyproject.toml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[build-system]
2-
build-backend = "setuptools.build_meta"
2+
build-backend = "hatchling.build"
33
requires = [
4-
"setuptools>=61.2",
5-
"setuptools_scm[toml]>=6.2",
4+
"hatch-vcs",
5+
"hatchling",
66
]
77

88
[project]
@@ -62,6 +62,14 @@ target_version = ["py37"]
6262
[tool.hatch]
6363
version.source = "vcs"
6464

65+
[tool.hatch.build]
66+
artifacts = [
67+
"*.mo",
68+
]
69+
70+
[tool.hatch.version.raw-options]
71+
local_scheme = "no-local-version"
72+
6573
[tool.isort]
6674
profile = "black"
6775

@@ -70,10 +78,3 @@ convention = "google"
7078

7179
[tool.pytest.ini_options]
7280
addopts = "--color=yes"
73-
74-
[tool.setuptools.packages.find]
75-
where = ["src"]
76-
namespaces = false
77-
78-
[tool.setuptools_scm]
79-
local_scheme = "no-local-version"

setup.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)