Skip to content

build

pyproject-build documentation

footman._stubs.build.Build

Bases: Tool

__call__

__call__(
    *args: str,
    config_json: _Value = ...,
    config_setting: _Value = ...,
    dependency_constraints_txt: _Value = ...,
    installer: _Flag = ...,
    metadata: _Flag = ...,
    no_isolation: _Value = ...,
    outdir: _Value = ...,
    quiet: _Flag = ...,
    sdist: _Flag = ...,
    skip_dependency_check: _Flag = ...,
    verbose: _Flag = ...,
    wheel: _Flag = ...,
    **flags: Any,
) -> Result

Run this verb.

Parameters:

Name Type Description Default
config_json _Value

settings to pass to the backend as a JSON object.

...
config_setting _Value

settings to pass to the backend.

...
dependency_constraints_txt _Value

constrain build dependencies using a constraints.txt when installing dependencies.

...
installer _Flag

Python package installer to use (defaults to pip).

...
metadata _Flag

print out a wheel's metadata in JSON format.

...
outdir _Value

output directory (defaults to {srcdir}/dist).

...
quiet _Flag

reduce verbosity.

...
sdist _Flag

build a source distribution (disables the default behavior).

...
skip_dependency_check _Flag

do not check that build dependencies are installed.

...
verbose _Flag

increase verbosity.

...
wheel _Flag

build a wheel (disables the default behavior).

...