Skip to content

Commit 3b95ec2

Browse files
committed
feat(build): switch to setuptools-gettext
Use module instead of reimplement the mo build logic.
1 parent 04db63e commit 3b95ec2

File tree

2 files changed

+5
-52
lines changed

2 files changed

+5
-52
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ build-backend = "setuptools.build_meta"
33
# Minimum requirements for the build system to execute.
44
requires = [
55
"setuptools>=70.0",
6-
"translate-toolkit"
6+
"setuptools-gettext==0.1.14"
77
]
88

99
[project]
@@ -166,3 +166,7 @@ weblate_language_data = "weblate_language_data"
166166
[tool.setuptools.packages.find]
167167
exclude = ["modules*"]
168168
namespaces = true
169+
170+
[tool.setuptools-gettext]
171+
build_dir = "weblate_language_data/locale"
172+
source_dir = "weblate_language_data/locale"

setup.py

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

0 commit comments

Comments
 (0)