Skip to content

Commit 175ab88

Browse files
committed
Use flit-gettext to compile gettext in distributions
1 parent 08597e0 commit 175ab88

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
- uses: actions/setup-python@v6
1313
with:
1414
python-version: "3.x"
15+
- run: sudo apt-get update && sudo apt-get install -y gettext
1516
- name: Install Python dependencies
1617
run: python -m pip install --upgrade pip build wheel twine readme-renderer
1718
- run: python -m build --sdist --wheel

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
- uses: actions/setup-python@v6
1212
with:
1313
python-version: "3.x"
14+
- run: sudo apt-get update && sudo apt-get install -y gettext
1415
- run: python -m pip install --upgrade pip build wheel
1516
- run: python -m build --sdist --wheel
1617
- uses: actions/upload-artifact@v5

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
requires = ["flit_core>=3.2", "flit_scm", "wheel"]
3-
build-backend = "flit_scm:buildapi"
2+
requires = ["flit-gettext[scm]", "wheel"]
3+
build-backend = "flit_gettext.scm"
44

55
[project]
66
name = "django-mail-auth"

0 commit comments

Comments
 (0)