全部搜尋項
trixie  ] [  forky  ] [  sid  ]
[ 原始碼: python-cmake-build-extension  ]

套件:python3-cmake-build-extension(0.6.1-2)

python3-cmake-build-extension 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 python-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)

其他與 python3-cmake-build-extension 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python3-cmake-build-extension

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 17。9 kB65。0 kB [檔案列表]