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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file flit_gettext-1.0.0.tar.gz.

File metadata

  • Download URL: flit_gettext-1.0.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for flit_gettext-1.0.0.tar.gz
Algorithm Hash digest
SHA256 adbea9bc6e175248d12773b5f20d065b9c0b8b345acf16133efb30b73ec92711
MD5 2d810bf39adfc8704efa42f28006e6f6
BLAKE2b-256 25ed406ac7fe6cdeb48195c40726be1a228a4423a0c3090597749ca46000bee9

See more details on using hashes here.

File details

Details for the file flit_gettext-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for flit_gettext-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29e643472113b4f350b0478383569ecf30773bba5873b6f33e34b367a9924b35
MD5 de60ed043ca70f88eb899c7c99d93f84
BLAKE2b-256 bf38c459b585008e58deba7ec94e151cb8b47cd5fa952b71b23086ca4bd3bbe9

See more details on using hashes here.

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