python-cmake-build-extension 0.6.0-2 source package in Ubuntu
Changelog
python-cmake-build-extension (0.6.0-2) unstable; urgency=medium * Fix copy&paste bug in patch * Depend on gcc for autopkgtest * Make sure CMake picks the correct Python version -- Timo Röhling <email address hidden> Mon, 10 Jun 2024 23:06:54 +0200
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
python-cmake-build-extension_0.6.0-2.dsc | 3.7 KiB | c0667ab929d9cf057c9769ec087500c95c2e48dea4d0f98dc290cd31e6044820 |
python-cmake-build-extension_0.6.0.orig.tar.gz | 30.7 KiB | e1434b2bf604b1d62c165142dd0e657f410f55dba862b4e35c20ff3a48d105d0 |
python-cmake-build-extension_0.6.0-2.debian.tar.xz | 4.9 KiB | 1a4bf718941c6a119af28fc06ab706c492c979267905cde63afb96e3d2ee7319 |
Available diffs
- diff from 0.6.0-1 to 0.6.0-2 (1.5 KiB)
No changes file available.
Binary packages built by this source
- python3-cmake-build-extension: 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)