Public API¶
Classes:
|
Builds wheel binary distributions using metadata read from |
Parser for the |
-
class
PthWheelBuilder
(project_dir, config, build_dir=None, out_dir=None, *args, verbose=False, colour=None, **kwargs)[source]¶ Bases:
WheelBuilder
Builds wheel binary distributions using metadata read from
pyproject.toml
.This builder has added support for creating
.pth
files.- Parameters
Methods:
Write
.pth
files, and their associated files, into the build directory.
-
class
WheyPthParser
[source]¶ Bases:
AbstractConfigParser
Parser for the
[tool.whey-pth]
table frompyproject.toml
.Methods:
parse
(config[, set_defaults])Parse the TOML configuration.
parse_additional_wheel_files
(config)Parse the
additional-wheel-files
key.parse_name
(config)Parse the
name
key, giving the desired name of the.pth
file.parse_pth_content
(config)Parse the
pth-content
key, giving the content of the.pth
file.-
parse_additional_wheel_files
(config)[source]¶ Parse the
additional-wheel-files
key.The value is a list of MANIFEST.in-style entries for additional files to include in the wheel.
-