Skip to main content

Compiling gettext i18n messages during project bundling.

Project description

Flit gettext

PyPi Version Test Coverage GitHub License

Compiling gettext i18n messages during project bundling.

"Binary files should never be committed to a repository to promote transparency and security." That is why this project was created.

Usage

Simple, just add flit-gettext to your pyproject.toml build-system requirements and set the build-backend:

# pyproject.toml
[build-system]
requires = [
  "flit-gettext[scm]",  # [scm] is optional
  # …others, like wheel, etc.
]
# using flit-core as a base build-backend
build-backend = "flit_gettext.core"
# or using flit-scm as a base build-backend for git-based versioning
build-backend = "flit_gettext.scm"
# To use use flit-scm, you will need to include the optional dependency above.

Please make sure, your build system has gettext installed. If you ship wheels, those will include the compiled .mo files.

That's it!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flit_gettext-1.0.0.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

flit_gettext-1.0.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page