Skip to content

Commit

Permalink
include .mo files in the built packages
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed Sep 29, 2023
1 parent 5cc3ba6 commit 98dd1d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ include = [
exclude = [
"docs/_build/",
]
artifacts = ["src/wtforms/locale/**/*.mo"]

[tool.hatch.build.hooks.custom]
dependencies = [
Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ deps =
babel
email_validator
commands =
pybabel --quiet compile --directory {envsitepackagesdir}/wtforms/locale --domain wtforms --statistics
pytest --tb=short --basetemp={envtmpdir} {posargs}

[testenv:coverage]
Expand All @@ -21,7 +20,6 @@ deps =
email_validator
coverage
commands =
pybabel --quiet compile --directory {envsitepackagesdir}/wtforms/locale --domain wtforms --statistics
coverage erase
coverage run --parallel --module pytest --tb=short --basetemp={envtmpdir} {posargs}
coverage combine
Expand Down

0 comments on commit 98dd1d5

Please sign in to comment.