A simple, correct Python build frontend
Actively maintained. Last release 3 months ago, commits in 26 of the last 26 weeks. A safe choice.
pip install buildbuild
A simple, correct Python build frontend.
See the documentation for more information.
Installation
build can be installed via pip or an equivalent via:
$ pip install build
Usage
$ python -m build
This will build the package in an isolated environment, generating a source-distribution and wheel in the directory
dist/. See the documentation for full information. Build is also available via the command
line as pyproject-build once installed.
Common arguments
--sdist(-s): Produce just an SDist--wheel(-w): Produce just a wheel--metadata: Produce just the metadata as JSON. Cannot be used with--sdist/--wheel.-C<option>=<value>: A Config-setting, the PEP 517 way of passing options to a backend. Can be passed multiple times. Matching options will make a list. Note that setuptools has very limited support.--config-json=<value>: An alternative way to pass in complex config settings as JSON strings. Can't be used with .