ivpm-build

Contents

  • Installation
  • Migrating from ivpm.setup
  • [tool.ivpm-build] Configuration Reference
  • PEP 517 Build Backend (ivpm_build.backend)
  • CMake Integration
  • ivpm_build.setup API
  • ivpm_build.config API
  • ivpm_build.backend API
  • ivpm_build.cmake API
ivpm-build
  • ivpm-build
  • View page source

ivpm-build

ivpm-build is a standalone Python package that extracts the build infrastructure from ivpm so projects can depend on it at build time without pulling in the full IVPM tool chain.

Contents

  • Installation
    • From PyPI
    • Relationship to ivpm
  • Migrating from ivpm.setup
    • Path 1 — Legacy setup.py (one-line change)
    • Path 2 — Hybrid pyproject.toml + setup.py
    • Path 3 — Pure pyproject.toml
  • [tool.ivpm-build] Configuration Reference
    • extra-data entries
    • ext-name-map entries
    • Template variables
  • PEP 517 Build Backend (ivpm_build.backend)
    • Activating the backend
    • When to use this backend vs. the setup.py wrapper
    • What the backend does
    • Exposed hooks
  • CMake Integration
    • Basic usage
    • CMAKE_BUILD_TOOL environment variable
    • DEBUG flag
    • PACKAGES_DIR convention
    • Platform notes
    • Optional scikit-build-core bridge (IVPMHook)
  • ivpm_build.setup API
    • setup()
    • apply_ivpm_setup()
    • BuildExt
    • InstallLib
    • setup()
    • apply_ivpm_setup()
    • get_hooks()
    • get_ivpm_extra_data()
    • get_ivpm_extdep_data()
    • get_ivpm_ext_name_m()
    • get_package_dir()
    • expand()
    • expand_libvars()
    • BuildExt
    • InstallLib
  • ivpm_build.config API
    • ExtraDataSpec
    • ExtNameMapEntry
    • IvpmBuildConfig
    • load_config()
  • ivpm_build.backend API
    • get_requires_for_build_wheel()
    • prepare_metadata_for_build_wheel()
    • build_wheel()
    • build_sdist()
    • build_editable()
    • get_requires_for_build_editable()
    • prepare_metadata_for_build_editable()
  • ivpm_build.cmake API
    • CmakeBuilder
    • CmakeBuilder
    • collect_cmake_args()
    • IVPMHook

Indices and tables

  • Index

  • Module Index

  • Search Page

Next

© Copyright 2024, Matthew Ballance.

Built with Sphinx using a theme provided by Read the Docs.