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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
File details
Details for the file py_build_cmake-0.0.0a0-py310-none-any.whl
.
File metadata
- Download URL: py_build_cmake-0.0.0a0-py310-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3.10
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0f283f62f9523f175d83f75d848ad0e263063433fa6b453e477c85fe2db7155 |
|
MD5 | edcc2af10730318795f2b770dbbf45f8 |
|
BLAKE2b-256 | 372679d0bd2ec4da26d237c09a4c18c4121c988c5fe578f150b824d96c2abeaf |
File details
Details for the file py_build_cmake-0.0.0a0-py39-none-any.whl
.
File metadata
- Download URL: py_build_cmake-0.0.0a0-py39-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b57d9a5287fcf698cb6ef5630804a120fe0323e5b38dbc4d6f1129e14e8e557 |
|
MD5 | d157cad0218841a5daea7c62cd7c5954 |
|
BLAKE2b-256 | 9be7bbc62462238c822c600f26dd7c1bf357b618205192d70dac66f58862ccd5 |