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 hashes)
Built Distribution
Close
Hashes for setuptools_gettext-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d09b819efd258dd4a9ee7ab3daacdd3e2f4c200ba73720696a292137a6211554 |
|
MD5 | 882f7951547f96e71b795fcbbd0d35f5 |
|
BLAKE2b-256 | bcb4b159189f93027662db12f370bef2777ef54034af6bc01de44831c2b6fcc3 |