Create Wheel from CMake projects
See the codeWheel build backend using CMake, to package any CMake project with pip and distribute on PyPI.
Following those relevant PEPs:
https://matrix.to/#/#cmake-wheel:matrix.org
Glue between PEP 517 & 660 entry points and modern CMake standard project configuration / build / test / install, and
install in ${PYTHON_SITELIB}/cmeel.prefix/:
${PYTHON_SITELIB}/cmeel.prefix${PYTHON_SITELIB}/cmeel.pth automatically load ${PYTHON_SITELIB}/cmeel.prefix/${PYTHON_SITELIB}, so python
packages work out of the box${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${PYTHON_SITELIB}/cmeel.prefix/bin is exposed via cmeel.run:cmeel_run, or copied if start with a shebangextract from https://github.com/cmake-wheel/cmeel-example/blob/main/pyproject.toml:
[build-system]
build-backend = "cmeel"
requires = ["cmeel[build]"]
[project]
authors = [{email = "[email protected]", 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
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
Create Wheel from CMake projects
See the codeWheel build backend using CMake, to package any CMake project with pip and distribute on PyPI.
Following those relevant PEPs:
https://matrix.to/#/#cmake-wheel:matrix.org
Glue between PEP 517 & 660 entry points and modern CMake standard project configuration / build / test / install, and
install in ${PYTHON_SITELIB}/cmeel.prefix/:
${PYTHON_SITELIB}/cmeel.prefix${PYTHON_SITELIB}/cmeel.pth automatically load ${PYTHON_SITELIB}/cmeel.prefix/${PYTHON_SITELIB}, so python
packages work out of the box${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${PYTHON_SITELIB}/cmeel.prefix/bin is exposed via cmeel.run:cmeel_run, or copied if start with a shebangextract from https://github.com/cmake-wheel/cmeel-example/blob/main/pyproject.toml:
[build-system]
build-backend = "cmeel"
requires = ["cmeel[build]"]
[project]
authors = [{email = "[email protected]", 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
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