Modern, PEP 517 compliant build backend for building Python packages with
Project description
py-build-cmake
Modern, PEP 517 compliant build backend for building Python packages with extensions built using CMake.
Features
- Build C, C++ or Fortran extensions for Python using CMake
- Declarative configuration using
pyproject.toml
(PEP 621), compatible with flit - Compatible with pybind11
- Generate stubs for type checking and suggestions
- Customizable CMake configuration, build and installation options
- Support for multiple installation configurations
- Editable/development installations for Python modules (PEP 660)
- No dependency on setuptools
Planned features
- Entry point support
- Namespace package support (PEP 420)
- Doxygen and Sphinx support
- OSX support
Usage
Add a pyproject.toml
configuration file
(see pyproject.toml
for an example), and use
pip, PyPA build
or another PEP 517 compatible frontend to install and/or build the package.
python -m build . # find the sdist and wheel file in the dist folder
pip install . # normal installation
pip install -e . # editable installation
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
py-build-cmake-0.0.0a1.tar.gz
(8.1 kB
view hashes)
Built Distributions
Close
Hashes for py_build_cmake-0.0.0a1-py310-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 004ccafc9a027443dbb322876636a5c10daacc163728531b44554729c4642959 |
|
MD5 | fee2377d9a7e50cdda99382b5e873c39 |
|
BLAKE2b-256 | 24a29551270a96f1886d1208ba5e54f5f16b15bc1c0acfe668643b7544a165bc |
Close
Hashes for py_build_cmake-0.0.0a1-py39-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a05f3bd62c09181453b2d7acd4674a03f6ea03cb7009550affe1054296732f99 |
|
MD5 | e4966da15e34ed775de9eb3f538bddf8 |
|
BLAKE2b-256 | 88186f04134ea495be1d2ecdfed63ce1fe73269e1aa3ce64a01dcd552ec8d0cb |
Close
Hashes for py_build_cmake-0.0.0a1-py38-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff6b15d91204382c45ed27587a5351cd53d9f65dcb81e38f50d1a9008167939d |
|
MD5 | deceeb9a9171ceba83d98b37d14858d1 |
|
BLAKE2b-256 | 4e8398712ffc2fe039bf62377b4d59adccf2f1720a6b47f9ca0e28980e855556 |