Name | setuptools-gettext JSON |
Version |
0.1.11
JSON |
| download |
home_page | |
Summary | Setuptools gettext extension plugin |
upload_time | 2024-01-28 17:58:05 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.7 |
license | |
keywords |
distutils
setuptools
gettext
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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.
The .mo files are installed adjacent to your package as package data in a subdirectory called ``locale``.
You can override these settings in ``pyproject.toml``:
```toml
[build-system]
requires = ["setuptools", "setuptools-gettext"]
...
[tool.setuptools-gettext]
# directory in which the .po files can be found
source_dir = "po"
# directory in which the generated .mo files are placed when building
build_dir = "breezy/locale"
```
Raw data
{
"_id": null,
"home_page": "",
"name": "setuptools-gettext",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "Breezy Developers <breezy-core@googlegroups.com>",
"keywords": "distutils,setuptools,gettext",
"author": "",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/a3/ca/fa289aeaa2360b050de808a7c7308e0f0825fd97a314fbc73c9dc88708ec/setuptools-gettext-0.1.11.tar.gz",
"platform": null,
"description": "# setuptools plugin for gettext\n\nCompile .po files into .mo files.\n\nThis plugin adds `build_mo`, `clean_mo` and `install_mo` subcommands for\nsetup.py as well as hooking those into standard commands.\n\n## Usage\n\nBy default, setuptools_gettext compiles and installs mo files when there is a\n`po` directory present that contains ``.po`` files.\n\nThe .mo files are installed adjacent to your package as package data in a subdirectory called ``locale``.\n\nYou can override these settings in ``pyproject.toml``:\n\n```toml\n[build-system]\nrequires = [\"setuptools\", \"setuptools-gettext\"]\n...\n\n[tool.setuptools-gettext]\n# directory in which the .po files can be found \nsource_dir = \"po\"\n# directory in which the generated .mo files are placed when building\nbuild_dir = \"breezy/locale\"\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Setuptools gettext extension plugin",
"version": "0.1.11",
"project_urls": {
"Homepage": "https://github.com/breezy-team/setuptools-gettext",
"repository": "https://github.com/breezy-team/setuptools-gettext.git"
},
"split_keywords": [
"distutils",
"setuptools",
"gettext"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cfd8b04a547ad66ee17ff6342e176ad0064a3d230e2480c95e445ea20d16557c",
"md5": "1540d26ac4e8d53377ed290f98195ae2",
"sha256": "8c3e40cfc8c11ee4dab85434de5774bab742add7275fbde8a679795301662cd3"
},
"downloads": -1,
"filename": "setuptools_gettext-0.1.11-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1540d26ac4e8d53377ed290f98195ae2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 13193,
"upload_time": "2024-01-28T17:58:03",
"upload_time_iso_8601": "2024-01-28T17:58:03.376783Z",
"url": "https://files.pythonhosted.org/packages/cf/d8/b04a547ad66ee17ff6342e176ad0064a3d230e2480c95e445ea20d16557c/setuptools_gettext-0.1.11-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a3cafa289aeaa2360b050de808a7c7308e0f0825fd97a314fbc73c9dc88708ec",
"md5": "cb1db5422f0ab07afa90a9f2b3be6194",
"sha256": "d36c294f58c743179cacec35bae8fe88dbf16b4dc9c40be0d327f82430b04663"
},
"downloads": -1,
"filename": "setuptools-gettext-0.1.11.tar.gz",
"has_sig": false,
"md5_digest": "cb1db5422f0ab07afa90a9f2b3be6194",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 15582,
"upload_time": "2024-01-28T17:58:05",
"upload_time_iso_8601": "2024-01-28T17:58:05.248986Z",
"url": "https://files.pythonhosted.org/packages/a3/ca/fa289aeaa2360b050de808a7c7308e0f0825fd97a314fbc73c9dc88708ec/setuptools-gettext-0.1.11.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-28 17:58:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "breezy-team",
"github_project": "setuptools-gettext",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "setuptools-gettext"
}