build
A simple, correct Python build frontend. Current version: 1.4.2. Released on March 25, 2026. Maintained by the Python Packaging Authority (PyPa).
Warnings
- breaking In build 0.10.0, the 'pep517' dependency was replaced with 'pyproject_hooks', and the build backend was changed from 'setuptools' to 'flit'.
- breaking Support for Python 3.6 was dropped in build 0.10.0.
Install
-
pip install build
Imports
- build
import build
Quickstart
import build # Build the package in the current directory build.build() # This will build the package in an isolated environment, generating a source distribution and wheel in the 'dist/' directory.