cmeel-0.9.0
0.9.0
0.8.0
0.7.0
0.60.0
0.6.2
0.6.1
0.6.0
0.59.0
0.58.0
0.57.3
0.57.2
0.57.1
0.57.0
0.56.0
0.55.0
0.54.2
0.53.3
0.53.2
0.53.1
0.53.0
0.52.1
0.51.1
0.50.2
0.50.1
0.50.0
0.5.2
0.5.1
0.5.0
0.49.0
0.48.1
0.47.1
0.46.0
0.45.0
0.44.1
0.44.0
0.43.1
0.43.0
0.42.1
0.42.0
0.41.1
0.41.0
0.40.0
0.4.2
0.4.1
0.4.0
0.39.0
0.38.0
0.37.0
0.36.0
0.35.0
0.34.1
0.34.0
0.33.0
0.32.3
0.32.2
0.32.1
0.32.0
0.31.0
0.30.0
0.3.0
0.29.0
0.28.0
0.27.0
0.26.0
0.25.0
0.24.2
0.24.1
0.24.0
0.23.2
0.23.0
0.22.0
0.21.0
0.20.0
0.19.0
0.18.0
0.17.1
0.16.0
0.15.0
0.14.0
0.13.3
0.13.2
0.13.1
0.13.0
0.12.5
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0
0.11.0
0.10.1
0.10.0
0.9.0
0.8.0
0.7.0
0.60.0
0.6.2
0.6.1
0.6.0
0.59.0
0.58.0
0.57.3
0.57.2
0.57.1
0.57.0
0.56.0
0.55.0
0.54.2
0.53.3
0.53.2
0.53.1
0.53.0
0.52.1
0.51.1
0.50.2
0.50.1
0.50.0
0.5.2
0.5.1
0.5.0
0.49.0
0.48.1
0.47.1
0.46.0
0.45.0
0.44.1
0.44.0
0.43.1
0.43.0
0.42.1
0.42.0
0.41.1
0.41.0
0.40.0
0.4.2
0.4.1
0.4.0
0.39.0
0.38.0
0.37.0
0.36.0
0.35.0
0.34.1
0.34.0
0.33.0
0.32.3
0.32.2
0.32.1
0.32.0
0.31.0
0.30.0
0.3.0
0.29.0
0.28.0
0.27.0
0.26.0
0.25.0
0.24.2
0.24.1
0.24.0
0.23.2
0.23.0
0.22.0
0.21.0
0.20.0
0.19.0
0.18.0
0.17.1
0.16.0
0.15.0
0.14.0
0.13.3
0.13.2
0.13.1
0.13.0
0.12.5
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0
0.11.0
0.10.1
0.10.0
توضیحات
Create Wheel from CMake projects
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | cmeel-0.9.0 |
| نام | cmeel |
| نسخه کتابخانه | 0.9.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Guilhem Saurel <guilhem.saurel@laas.fr> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/cmeel/ |
| مجوز | - |
# CMake Wheel: cmeel
[](https://pypi.org/project/cmeel)
[](https://results.pre-commit.ci/latest/github/cmake-wheel/cmeel/main)
[](https://cmeel.readthedocs.io/en/latest/?badge=latest)
[](https://github.com/charliermarsh/ruff)
[](https://github.com/astral-sh/uv)
Wheel build backend using CMake, to package any CMake project with pip and distribute on PyPI.
Following those relevant PEPs:
- [PEP 427](https://peps.python.org/pep-0427/), The Wheel Binary Package Format 1.0
- [PEP 517](https://peps.python.org/pep-0517/), A build-system independent format for source trees
- [PEP 518](https://peps.python.org/pep-0518/), Specifying Minimum Build System Requirements for Python Projects
- [PEP 600](https://peps.python.org/pep-0600/), Future ‘manylinux’ Platform Tags for Portable Linux Built Distributions
- [PEP 621](https://peps.python.org/pep-0621/), Storing project metadata in pyproject.toml
- [PEP 639](https://peps.python.org/pep-0639/), Improving License Clarity with Better Package Metadata
- [PEP 660](https://peps.python.org/pep-0660/), Editable installs for pyproject.toml based builds (wheel based)
## Chat
https://matrix.to/#/#cmake-wheel:matrix.org
## Basic idea
Glue between PEP 517 & 660 entry points and modern CMake standard project configuration / build / test / install, and
install in `${PYTHON_SITELIB}/cmeel.prefix/`:
- As there is a dot, it is not a valid python module name, so no risk of importing anything there by mistake
- Play well with others, as everything is confined to `${PYTHON_SITELIB}/cmeel.prefix`
- `${PYTHON_SITELIB}/cmeel.pth` automatically load `${PYTHON_SITELIB}/cmeel.prefix/${PYTHON_SITELIB}`, so python
packages work out of the box
- Existing `${PYTHON_SITELIB}/cmeel.prefix` are automatically added to `$CMAKE_PREFIX_PATH`, so we can build CMake
packages whose dependencies are provided by other packages installed with cmeel
- Stuff in `${PYTHON_SITELIB}/cmeel.prefix/bin` is exposed via `cmeel.run:cmeel_run`, or copied if start with a shebang
## Basic pyproject.toml example
extract from https://github.com/cmake-wheel/cmeel-example/blob/main/pyproject.toml:
```toml
[build-system]
build-backend = "cmeel"
requires = ["cmeel[build]"]
[project]
authors = [{email = "guilhem.saurel@laas.fr", name = "Guilhem Saurel"}]
description = "This is an example project, to show how to use cmeel"
license = "BSD-2-Clause"
name = "cmeel-example"
requires-python = ">= 3.8"
version = "0.7.0"
[project.urls]
changelog = "https://github.com/cmake-wheel/cmeel-example/blob/main/CHANGELOG.md"
homepage = "https://github.com/cmake-wheel/cmeel-example"
repository = "https://github.com/cmake-wheel/cmeel-example.git"
```
Complete specification is available at:
https://packaging.python.org/en/latest/specifications/declaring-project-metadata
## Install
If you want to use the helpers provided by cmeel, to *eg*. test building a project in a manylinux container with
`cmeel docker`, the best way to install cmeel is to use pipx: `pipx install cmeel`
Otherwise, if you just want to use the build backend, there is no need to install anything: your frontent (*eg.* `pip`)
should do this for you
نیازمندی
| مقدار | نام |
|---|---|
| ython_full_versio | tomli>=2.1.0; |
| xtr | cmake>=3.31.2; |
| xtr | git-archive-all; |
| xtr | packaging>=24.2; |
| xtr | wheel>=0.45.1; |
| xtr | argcomplete>=3.6.3; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl cmeel-0.9.0:
pip install cmeel-0.9.0.whl
نصب پکیج tar.gz cmeel-0.9.0:
pip install cmeel-0.9.0.tar.gz