INFO
Name: python3-cmake-build-extension-doc
Version: 0.6.1-2.el9
Arch: noarch
Summary: Documentation and examples for cmake-build-extension
License: MIT AND BSD-3-Clause
Vendor: Fedora Project
Build Host: buildvm-a64-07.iad2.fedoraproject.org
Build Date: Fri Oct 18 10:48:42 2024
Size: 137200
URL: https://github.com/diegoferigo/cmake-build-extension
Description: This project 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 reliably CPython modules on all major
OSs.
• Disable the C++ extension in editable installations (requiring to manually
call CMake to install the C++ project).
FILES
/usr/share/doc/python3-cmake-build-extension-doc
/usr/share/doc/python3-cmake-build-extension-doc/README.md
/usr/share/doc/python3-cmake-build-extension-doc/example
/usr/share/doc/python3-cmake-build-extension-doc/example/.clang-format
/usr/share/doc/python3-cmake-build-extension-doc/example/CMakeLists.txt
/usr/share/doc/python3-cmake-build-extension-doc/example/README.md
/usr/share/doc/python3-cmake-build-extension-doc/example/bindings_pybind11
/usr/share/doc/python3-cmake-build-extension-doc/example/bindings_pybind11/CMakeLists.txt
/usr/share/doc/python3-cmake-build-extension-doc/example/bindings_pybind11/bindings.cpp
/usr/share/doc/python3-cmake-build-extension-doc/example/bindings_swig
/usr/share/doc/python3-cmake-build-extension-doc/example/bindings_swig/CMakeLists.txt
/usr/share/doc/python3-cmake-build-extension-doc/example/bindings_swig/bindings.i
/usr/share/doc/python3-cmake-build-extension-doc/example/bindings_swig/numpy.i
/usr/share/doc/python3-cmake-build-extension-doc/example/pyproject.toml
/usr/share/doc/python3-cmake-build-extension-doc/example/setup.cfg
/usr/share/doc/python3-cmake-build-extension-doc/example/setup.py
/usr/share/doc/python3-cmake-build-extension-doc/example/src
/usr/share/doc/python3-cmake-build-extension-doc/example/src/mymath.cpp
/usr/share/doc/python3-cmake-build-extension-doc/example/src/mymath.h
/usr/share/doc/python3-cmake-build-extension-doc/example/src/print_answer.cpp
/usr/share/doc/python3-cmake-build-extension-doc/example/tests
/usr/share/doc/python3-cmake-build-extension-doc/example/tests/test_pybind11.py
/usr/share/doc/python3-cmake-build-extension-doc/example/tests/test_swig.py
REQUIRES
python3-cmake-build-extension 0.6.1-2.el9
rpmlib(CompressedFileNames) 3.0.4-1
rpmlib(FileDigests) 4.6.0-1
rpmlib(PayloadFilesHavePrefix) 4.0-1
rpmlib(PayloadIsZstd) 5.4.18-1
PROVIDES
python3-cmake-build-extension-doc 0.6.1-2.el9
CONFIG FILES
/usr/share/doc/python3-cmake-build-extension-doc
/usr/share/doc/python3-cmake-build-extension-doc/README.md d
/usr/share/doc/python3-cmake-build-extension-doc/example
/usr/share/doc/python3-cmake-build-extension-doc/example/.clang-format d
/usr/share/doc/python3-cmake-build-extension-doc/example/CMakeLists.txt d
/usr/share/doc/python3-cmake-build-extension-doc/example/README.md d
/usr/share/doc/python3-cmake-build-extension-doc/example/bindings_pybind11
/usr/share/doc/python3-cmake-build-extension-doc/example/bindings_pybind11/CMakeLists.txt d
/usr/share/doc/python3-cmake-build-extension-doc/example/bindings_pybind11/bindings.cpp d
/usr/share/doc/python3-cmake-build-extension-doc/example/bindings_swig
/usr/share/doc/python3-cmake-build-extension-doc/example/bindings_swig/CMakeLists.txt d
/usr/share/doc/python3-cmake-build-extension-doc/example/bindings_swig/bindings.i d
/usr/share/doc/python3-cmake-build-extension-doc/example/bindings_swig/numpy.i d
/usr/share/doc/python3-cmake-build-extension-doc/example/pyproject.toml d
/usr/share/doc/python3-cmake-build-extension-doc/example/setup.cfg d
/usr/share/doc/python3-cmake-build-extension-doc/example/setup.py d
/usr/share/doc/python3-cmake-build-extension-doc/example/src
/usr/share/doc/python3-cmake-build-extension-doc/example/src/mymath.cpp d
/usr/share/doc/python3-cmake-build-extension-doc/example/src/mymath.h d
/usr/share/doc/python3-cmake-build-extension-doc/example/src/print_answer.cpp d
/usr/share/doc/python3-cmake-build-extension-doc/example/tests
/usr/share/doc/python3-cmake-build-extension-doc/example/tests/test_pybind11.py d
/usr/share/doc/python3-cmake-build-extension-doc/example/tests/test_swig.py d
LICENSE FILES
MIT AND BSD-3-Clause
|