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 Distribution

py-build-cmake-0.0.0a1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distributions

py_build_cmake-0.0.0a1-py310-none-any.whl (8.9 kB view details)

Uploaded Python 3.10

py_build_cmake-0.0.0a1-py39-none-any.whl (8.9 kB view details)

Uploaded Python 3.9

py_build_cmake-0.0.0a1-py38-none-any.whl (8.9 kB view details)

Uploaded Python 3.8

File details

Details for the file py-build-cmake-0.0.0a1.tar.gz.

File metadata

  • Download URL: py-build-cmake-0.0.0a1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for py-build-cmake-0.0.0a1.tar.gz
Algorithm Hash digest
SHA256 82fd34c5bd70b75c78f506f803c232d14c4ecaf2a8a718238d0d0afb434e4364
MD5 4afa8fc38edd49c341df6e7b5d1d7d6f
BLAKE2b-256 090a83f55710cd611063a5e4e48737b2a9eac3a791956b565f2e2010ff8951a2

See more details on using hashes here.

File details

Details for the file py_build_cmake-0.0.0a1-py310-none-any.whl.

File metadata

  • Download URL: py_build_cmake-0.0.0a1-py310-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3.10
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for py_build_cmake-0.0.0a1-py310-none-any.whl
Algorithm Hash digest
SHA256 004ccafc9a027443dbb322876636a5c10daacc163728531b44554729c4642959
MD5 fee2377d9a7e50cdda99382b5e873c39
BLAKE2b-256 24a29551270a96f1886d1208ba5e54f5f16b15bc1c0acfe668643b7544a165bc

See more details on using hashes here.

File details

Details for the file py_build_cmake-0.0.0a1-py39-none-any.whl.

File metadata

  • Download URL: py_build_cmake-0.0.0a1-py39-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for py_build_cmake-0.0.0a1-py39-none-any.whl
Algorithm Hash digest
SHA256 a05f3bd62c09181453b2d7acd4674a03f6ea03cb7009550affe1054296732f99
MD5 e4966da15e34ed775de9eb3f538bddf8
BLAKE2b-256 88186f04134ea495be1d2ecdfed63ce1fe73269e1aa3ce64a01dcd552ec8d0cb

See more details on using hashes here.

File details

Details for the file py_build_cmake-0.0.0a1-py38-none-any.whl.

File metadata

  • Download URL: py_build_cmake-0.0.0a1-py38-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for py_build_cmake-0.0.0a1-py38-none-any.whl
Algorithm Hash digest
SHA256 ff6b15d91204382c45ed27587a5351cd53d9f65dcb81e38f50d1a9008167939d
MD5 deceeb9a9171ceba83d98b37d14858d1
BLAKE2b-256 4e8398712ffc2fe039bf62377b4d59adccf2f1720a6b47f9ca0e28980e855556

See more details on using hashes here.

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