Skip to main content

Modern, PEP 517 compliant build backend for building Python packages with

Project description

Python Wheel (Linux) Python Wheel (Windows)

py-build-cmake

Modern, PEP 517 compliant build backend for building Python packages with extensions built using CMake.

Features

  • Build C, C++ or Fortran extensions for Python using CMake
  • Declarative configuration using pyproject.toml (PEP 621), compatible with flit
  • Compatible with pybind11
  • Generate stubs for type checking and suggestions
  • Customizable CMake configuration, build and installation options
  • Support for multiple installation configurations
  • Editable/development installations for Python modules (PEP 660)
  • No dependency on setuptools

Planned features

  • Entry point support
  • Namespace package support (PEP 420)
  • Doxygen and Sphinx support
  • OSX support

Usage

Add a pyproject.toml configuration file (see pyproject.toml for an example), and use pip, PyPA build or another PEP 517 compatible frontend to install and/or build the package.

python -m build . # find the sdist and wheel file in the dist folder
pip install . # normal installation
pip install -e . # editable installation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

py_build_cmake-0.0.0a0-py310-none-any.whl (8.9 kB view hashes)

Uploaded Python 3.10

py_build_cmake-0.0.0a0-py39-none-any.whl (8.9 kB view hashes)

Uploaded Python 3.9

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page