whey.foreman
¶
The foreman is responsible for loading the configuration calling the builders.
Classes:
|
Responsible for loading the configuration calling the builders. |
-
class
Foreman
(project_dir)[source]¶ Bases:
object
Responsible for loading the configuration calling the builders.
Methods:
build_binary
([build_dir, out_dir, verbose, …])Build a binary distribution using the
binary
builder configured inpyproject.toml
.build_sdist
([build_dir, out_dir, verbose, …])Build a sdist distribution using the
sdist
builder configured inpyproject.toml
.build_wheel
([build_dir, out_dir, verbose, …])Build a wheel distribution using the
wheel
builder configured inpyproject.toml
.get_builder
(distribution_type)Returns the builder for the given distribution type.
Attributes:
Configuration parsed from
pyproject.toml
.The pyproject.toml directory
-
build_binary
(build_dir=None, out_dir=None, *args, verbose=False, colour=None, **kwargs)[source]¶ Build a binary distribution using the
binary
builder configured inpyproject.toml
.- Return type
- Returns
The filename of the created archive.
-
build_sdist
(build_dir=None, out_dir=None, *args, verbose=False, colour=None, **kwargs)[source]¶ Build a sdist distribution using the
sdist
builder configured inpyproject.toml
.- Return type
- Returns
The filename of the created archive.
-
build_wheel
(build_dir=None, out_dir=None, *args, verbose=False, colour=None, **kwargs)[source]¶ Build a wheel distribution using the
wheel
builder configured inpyproject.toml
.- Return type
- Returns
The filename of the created archive.
-
config
¶ Configuration parsed from
pyproject.toml
.
-