Skip to main content

Create Wheel from CMake projects

Project description

CMake Wheel

PyPI version pre-commit.ci status Documentation Status Code style: black

Wheel build backend using CMake, to package anything with pip and distribute on PyPI.

Following those relevant PEPs:

  • PEP 427, The Wheel Binary Package Format 1.0
  • PEP 517, A build-system independent format for source trees
  • PEP 518, Specifying Minimum Build System Requirements for Python Projects
  • PEP 600, Future ‘manylinux’ Platform Tags for Portable Linux Built Distributions
  • PEP 621, Storing project metadata in pyproject.toml
  • PEP 639, Improving License Clarity with Better Package Metadata, DRAFT

Chat

https://matrix.to/#/#cmake-wheel:matrix.org

Basic idea

Glue between PEP 517 build_wheel function and modern CMake standard project configuration / build / test / install

This 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 CMake packages installed with cmeel
  • Stuff in ${PYTHON_SITELIB}/cmeel.prefix/bin is exposed via cmeel.run:cmeel_run

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.31.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cmeel-0.31.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file cmeel-0.31.0.tar.gz.

File metadata

  • Download URL: cmeel-0.31.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-1031-azure

File hashes

Hashes for cmeel-0.31.0.tar.gz
Algorithm Hash digest
SHA256 79cabfa182816998aa157a606851428b612faed134c2b806a01611d0fc2324ab
MD5 775d82f13d6f14474d2dac6f650d5b83
BLAKE2b-256 20d2c68733c2a8af3305a8d37d5e8cab5babcd9aadd70fbc1671851e2909ee44

See more details on using hashes here.

File details

Details for the file cmeel-0.31.0-py3-none-any.whl.

File metadata

  • Download URL: cmeel-0.31.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-1031-azure

File hashes

Hashes for cmeel-0.31.0-py3-none-any.whl
Algorithm Hash digest
SHA256 979ef5744fa7f771efe8bce1b691066b7afa0ce83ad05010839ca57a4bf9cd99
MD5 483120d719ac74e21b50cc7c857734b6
BLAKE2b-256 fd016ecd73961b2d78687392c1e651eb3177bf9c17f8e2f040d333c376d98c94

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page