hatch-cpp


Namehatch-cpp JSON
Version 0.1.7 PyPI version JSON
download
home_pageNone
SummaryHatch plugin for C++ builds
upload_time2025-01-14 23:14:22
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseApache-2.0
keywords build c++ cmake cpp hatch python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # hatch-cpp

Hatch plugin for C++ builds

[![Build Status](https://github.com/python-project-templates/hatch-cpp/actions/workflows/build.yml/badge.svg?branch=main&event=push)](https://github.com/python-project-templates/hatch-cpp/actions/workflows/build.yml)
[![codecov](https://codecov.io/gh/python-project-templates/hatch-cpp/branch/main/graph/badge.svg)](https://codecov.io/gh/python-project-templates/hatch-cpp)
[![License](https://img.shields.io/github/license/python-project-templates/hatch-cpp)](https://github.com/python-project-templates/hatch-cpp)
[![PyPI](https://img.shields.io/pypi/v/hatch-cpp.svg)](https://pypi.python.org/pypi/hatch-cpp)

## Overview

A simple, extensible C++ build plugin for [hatch](https://hatch.pypa.io/latest/).

```toml
[tool.hatch.build.hooks.hatch-cpp]
libraries = [
    {name = "project/extension", sources = ["cpp/project/basic.cpp"], include-dirs = ["cpp"]}
]
```

For more complete systems, see:
- [scikit-build-core](https://github.com/scikit-build/scikit-build-core)
- [setuptools](https://setuptools.pypa.io/en/latest/userguide/ext_modules.html)

## Environment Variables
| Name | Default | Description |
|:-----|:--------|:------------|
|`CC`| | |
|`CXX`| | |
|`LD`| | |
|`HATCH_CPP_PLATFORM`| | |
|`HATCH_CPP_DISABLE_CCACHE`| | |

> [!NOTE]
> This library was generated using [copier](https://copier.readthedocs.io/en/stable/) from the [Base Python Project Template repository](https://github.com/python-project-templates/base).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "hatch-cpp",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "build, c++, cmake, cpp, hatch, python",
    "author": null,
    "author_email": "the hatch-cpp authors <t.paine154@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/d3/62/b04a84e7c5ef35d625fbf73079ba8df4a5fff2cbb52c2210cdd03f33d793/hatch_cpp-0.1.7.tar.gz",
    "platform": null,
    "description": "# hatch-cpp\n\nHatch plugin for C++ builds\n\n[![Build Status](https://github.com/python-project-templates/hatch-cpp/actions/workflows/build.yml/badge.svg?branch=main&event=push)](https://github.com/python-project-templates/hatch-cpp/actions/workflows/build.yml)\n[![codecov](https://codecov.io/gh/python-project-templates/hatch-cpp/branch/main/graph/badge.svg)](https://codecov.io/gh/python-project-templates/hatch-cpp)\n[![License](https://img.shields.io/github/license/python-project-templates/hatch-cpp)](https://github.com/python-project-templates/hatch-cpp)\n[![PyPI](https://img.shields.io/pypi/v/hatch-cpp.svg)](https://pypi.python.org/pypi/hatch-cpp)\n\n## Overview\n\nA simple, extensible C++ build plugin for [hatch](https://hatch.pypa.io/latest/).\n\n```toml\n[tool.hatch.build.hooks.hatch-cpp]\nlibraries = [\n    {name = \"project/extension\", sources = [\"cpp/project/basic.cpp\"], include-dirs = [\"cpp\"]}\n]\n```\n\nFor more complete systems, see:\n- [scikit-build-core](https://github.com/scikit-build/scikit-build-core)\n- [setuptools](https://setuptools.pypa.io/en/latest/userguide/ext_modules.html)\n\n## Environment Variables\n| Name | Default | Description |\n|:-----|:--------|:------------|\n|`CC`| | |\n|`CXX`| | |\n|`LD`| | |\n|`HATCH_CPP_PLATFORM`| | |\n|`HATCH_CPP_DISABLE_CCACHE`| | |\n\n> [!NOTE]\n> This library was generated using [copier](https://copier.readthedocs.io/en/stable/) from the [Base Python Project Template repository](https://github.com/python-project-templates/base).\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Hatch plugin for C++ builds",
    "version": "0.1.7",
    "project_urls": {
        "Homepage": "https://github.com/python-project-templates/hatch-cpp",
        "Repository": "https://github.com/python-project-templates/hatch-cpp"
    },
    "split_keywords": [
        "build",
        " c++",
        " cmake",
        " cpp",
        " hatch",
        " python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e1d90225a44d045a94d3107858bdc877cb60ed48203962b8bebf3cda9acd64a8",
                "md5": "597067b8aee4b431facf13059c09c597",
                "sha256": "b1a569fb97c08518d8a70c92a3080a621c91c45f34aead4141227cc03f62c3e1"
            },
            "downloads": -1,
            "filename": "hatch_cpp-0.1.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "597067b8aee4b431facf13059c09c597",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 25660,
            "upload_time": "2025-01-14T23:14:21",
            "upload_time_iso_8601": "2025-01-14T23:14:21.254610Z",
            "url": "https://files.pythonhosted.org/packages/e1/d9/0225a44d045a94d3107858bdc877cb60ed48203962b8bebf3cda9acd64a8/hatch_cpp-0.1.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d362b04a84e7c5ef35d625fbf73079ba8df4a5fff2cbb52c2210cdd03f33d793",
                "md5": "577239262e084c28e4affc4455b43050",
                "sha256": "beba443d83ecfdabd1febdb5c2f1894b7e463a11239bbfe4b88850d3a65f7ac8"
            },
            "downloads": -1,
            "filename": "hatch_cpp-0.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "577239262e084c28e4affc4455b43050",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 15875,
            "upload_time": "2025-01-14T23:14:22",
            "upload_time_iso_8601": "2025-01-14T23:14:22.237556Z",
            "url": "https://files.pythonhosted.org/packages/d3/62/b04a84e7c5ef35d625fbf73079ba8df4a5fff2cbb52c2210cdd03f33d793/hatch_cpp-0.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-14 23:14:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "python-project-templates",
    "github_project": "hatch-cpp",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "hatch-cpp"
}
        
Elapsed time: 1.15003s