setuptools-gettext


Namesetuptools-gettext JSON
Version 0.1.14 PyPI version JSON
download
home_pageNone
SummarySetuptools gettext extension plugin
upload_time2024-05-11 21:21:38
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords 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": null,
    "name": "setuptools-gettext",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "Breezy Developers <breezy-core@googlegroups.com>",
    "keywords": "setuptools, gettext",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/d5/48/03e7d2e550fd0fcb47864b78e40ef789860e8d75452fd2c1cef2578cb15c/setuptools_gettext-0.1.14.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": null,
    "summary": "Setuptools gettext extension plugin",
    "version": "0.1.14",
    "project_urls": {
        "Homepage": "https://github.com/breezy-team/setuptools-gettext",
        "repository": "https://github.com/breezy-team/setuptools-gettext.git"
    },
    "split_keywords": [
        "setuptools",
        " gettext"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "262871f8b5a7bc6a6a338643ae4d390e6b390e6fe73cee587a6771962f84760a",
                "md5": "636334ffa2a4a8beee10a40244b3b71f",
                "sha256": "ae1073d1ff7566489ef760ad0a762db71dda5b6a7c9cf4fb12580c7b1d41da30"
            },
            "downloads": -1,
            "filename": "setuptools_gettext-0.1.14-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "636334ffa2a4a8beee10a40244b3b71f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 13604,
            "upload_time": "2024-05-11T21:21:37",
            "upload_time_iso_8601": "2024-05-11T21:21:37.629966Z",
            "url": "https://files.pythonhosted.org/packages/26/28/71f8b5a7bc6a6a338643ae4d390e6b390e6fe73cee587a6771962f84760a/setuptools_gettext-0.1.14-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d54803e7d2e550fd0fcb47864b78e40ef789860e8d75452fd2c1cef2578cb15c",
                "md5": "23e89f308afd2535ba2f2f76d87293a9",
                "sha256": "43f099eff31a4712cdfbcbb07e0264b0546ed3ebfd7ea998189326c519390d2c"
            },
            "downloads": -1,
            "filename": "setuptools_gettext-0.1.14.tar.gz",
            "has_sig": false,
            "md5_digest": "23e89f308afd2535ba2f2f76d87293a9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 16177,
            "upload_time": "2024-05-11T21:21:38",
            "upload_time_iso_8601": "2024-05-11T21:21:38.789338Z",
            "url": "https://files.pythonhosted.org/packages/d5/48/03e7d2e550fd0fcb47864b78e40ef789860e8d75452fd2c1cef2578cb15c/setuptools_gettext-0.1.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-11 21:21:38",
    "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"
}
        
Elapsed time: 0.25155s