Setuptools gettext extension plugin
Project description
setuptools plugin for gettext
Compile .po files into .mo files.
This plugin adds build_mo
, 'clean_mo' and 'install_mo' subcommands for
setup.py as well as hooking those into standard commands.
Usage
By default, setuptools_gettext compiles and installs mo files when there is a
po
directory present that contains .po
files.
You can override these settings in pyproject.toml
:
[tool.setuptools-gettext]
source_dir = "po"
build_dir = "breezy/locale"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
setuptools-gettext-0.1.7.tar.gz
(12.6 kB
view details)
Built Distribution
File details
Details for the file setuptools-gettext-0.1.7.tar.gz
.
File metadata
- Download URL: setuptools-gettext-0.1.7.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57ed38f3efbad863ca053c11195d6c6c55a0d8cc4d533e8a93c064e1e79dc760 |
|
MD5 | 2f663229cf260d7a1440118b1415e76e |
|
BLAKE2b-256 | d1ee20a96ec848992740cdf8f575325085a5572695ac6b9084c63759f18f5ccf |
File details
Details for the file setuptools_gettext-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: setuptools_gettext-0.1.7-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d09b819efd258dd4a9ee7ab3daacdd3e2f4c200ba73720696a292137a6211554 |
|
MD5 | 882f7951547f96e71b795fcbbd0d35f5 |
|
BLAKE2b-256 | bcb4b159189f93027662db12f370bef2777ef54034af6bc01de44831c2b6fcc3 |