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.0a2.tar.gz
(8.1 kB
view hashes)
Built Distributions
Close
Hashes for py_build_cmake-0.0.0a2-py310-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab69e3615cc4cfb1cc681bb63518e398575392b476488ae2dda05cf487092d31 |
|
MD5 | 45f0c3f4eb1f876914f1a2d6a3cd4702 |
|
BLAKE2b-256 | dfb0ef37b0b840945c63d4943c06c64b39055c752fef52fcf77163b06cefe673 |
Close
Hashes for py_build_cmake-0.0.0a2-py39-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e15fa47b44b1acefa3bf64d27cf80e7acd9e154d90658d06219b446c6f6fb182 |
|
MD5 | cfd4b8950e513b2d6f14359c4fb6e436 |
|
BLAKE2b-256 | b0bece2efd8ddc185b30004d3d2bdbf8f60b3ee0f4e39250e5423dbb8b95abed |
Close
Hashes for py_build_cmake-0.0.0a2-py38-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4776ff208918a9e13acc0879bc8276ed96e4e002082c12220a63d4b23053a936 |
|
MD5 | 15144e09df00c1d5babe0602829ab336 |
|
BLAKE2b-256 | 69e3b501d11b74e5953fc223bd552722d38d0557e91daf6d7e9e735701cdf2e4 |