← All projects
Project record1 mention
Originally shared on Hacker News

bbbb

A minimal build backend for Python packages inspired by Flit that also supports projects with non-Python code and doesn't enforce distributions with a single top-level import package. Its core package (treated as the default) can only build wheels, while a separately declared dev package builds sdists and can be declared as an in-tree backend in pyproject.toml, so pure-Python projects can distribute sdists needing no build-time dependencies. The goal is to minimize download footprint and maximize modularity when end users turn an sdist into a wheel. Non-Python compilation, sdist content/metadata customization, and manifest filtering hook into arbitrary Python code with a simpler, narrower API than setup.py, meant to be extended with separately listed build-time support libraries.

Last shared
01 / The problem

What it addresses

Existing build backends are heavier and more restrictive, and distributing sdists for pure-Python code currently forces build-time dependencies on end users who just want to build a wheel.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. bbbb

    A minimal build backend for Python packages inspired by Flit that also supports projects with non-Python code and doesn't enforce distributions with a single top-level import package. Its core package (treated as the default) can only build wheels, while a separately declared dev package builds sdists and can be declared as an in-tree backend in pyproject.toml, so pure-Python projects can distribute sdists needing no build-time dependencies. The goal is to minimize download footprint and maximize modularity when end users turn an sdist into a wheel. Non-Python compilation, sdist content/metadata customization, and manifest filtering hook into arbitrary Python code with a simpler, narrower API than setup.py, meant to be extended with separately listed build-time support libraries.

    Problem: Existing build backends are heavier and more restrictive, and distributing sdists for pure-Python code currently forces build-time dependencies on end users who just want to build a wheel.

    Posted by @zahlman · Original source ↗

    Source text · @zahlman · · Source ↗

    will soon return to bbbb (the Bare-Bones Build Backend, a build backend for Python packages)