deb_control_files:
- control
- md5sums
- postinst
- prerm
deb_fields:
Architecture: all
Depends: python3-git, python3-setuptools-scm, python3:any
Description: |-
Setuptools extension to build and package CMake projects
This extension aims to simplify the integration of C++ projects based on CMake
with Python packaging tools. CMake provides out-of-the-box support to either
SWIG and pybind11, that are two among the most used projects to create Python
bindings from C++ sources.
.
If you have any experience with these hybrid projects, you know the challenges
to make packaging right! This project takes inspiration from pre-existing
examples (pybind/cmake_example, among many others) and provides a simple,
flexible, and reusable setuptools extension with the following features:
.
* Bridge between CMake projects and Python packaging
* Configure and build the CMake project from setup.py
* Install the CMake project in the resulting Python package
* Allow passing custom CMake options
* Allow creating a top-level __init__.py
* Expose C++ executables to the Python environment
* Provide a context manager to import CPython modules reliably on all major
OSs
* Disable the C++ extension in editable installations (requiring to manually
call CMake to install the C++ project)
Homepage: https://github.com/diegoferigo/cmake-build-extension
Installed-Size: '65'
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Package: python3-cmake-build-extension
Priority: optional
Recommends: cmake, ninja-build
Section: python
Source: python-cmake-build-extension
Version: 0.6.1-1
srcpkg_name: python-cmake-build-extension
srcpkg_version: 0.6.1-1