Installation#
You can download a tarball from Github, checkout the latest git tag or fetch the artifacts from project page on PyPI.
The recommended way is to checkout the git tags, as they are PGP signed with one of the following keys:
3DCE51D60930EBA47858BA4146F633CBB0EB4BF2
(Filipe Laíns)
build
may also be installed via pip or an equivalent:
$ pip install build
Tip
If you prefer, or are already using virtualenv in your workflow, you can
install build
with the optional virtualenv
dependency:
$ pip install 'build[virtualenv]'
this way, build
will use virtualenv for isolation, instead of venv.
This can be particularly useful, for example, when using automation tools
that rely on virtualenv, such as tox, or when your operating system’s
Python package does not include venv in the standard installation (such as
some versions of Ubuntu).
Bootstrapping#
This package can build itself with only the toml
and pep517
dependencies. The --skip-dependency-check
flag should be used in this
case.
On Python 3.10 and older, we have a dependency on tomli, but toml can be used instead, which may make bootstrapping easier.
Compatibility#
build
is verified to be compatible with the following Python
versions:
3.7
3.8
3.9
3.10
3.11
PyPy3