Create Wheel from CMake projects
Project description
CMake Wheels
Pip build backend using CMake.
Following those relevant PEPs:
- PEP 517, A build-system independent format for source trees
- PEP 518, Specifying Minimum Build System Requirements for Python Projects
- PEP 621, Storing project metadata in pyproject.toml
Basic idea
- Glue between PEP 517
build_wheel
function and modern CMake standard project configuration / build / test / install - 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
${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 CMake packages installed with cmeel - Stuff in
${PYTHON_SITELIB}/cmeel.prefix/bin
gets wrapped into entrypoints (TODO)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cmeel-0.8.0.tar.gz
(4.5 kB
view hashes)
Built Distribution
cmeel-0.8.0-py3-none-any.whl
(5.4 kB
view hashes)