class documentation
class ConfigMetadataHandler(ConfigHandler[
Undocumented
Method | __init__ |
Undocumented |
Class Variable | aliases |
Options aliases. For compatibility with various packages. E.g.: d2to1 and pbr. Note: `-` in keys is replaced with `_` by config parser. |
Class Variable | section |
Prefix for config sections handled by this handler. Must be provided by class heirs. |
Class Variable | strict |
We need to keep it loose, to be partially compatible with `pbr` and `d2to1` packages which also uses `metadata` section. |
Instance Variable | package |
Undocumented |
Instance Variable | root |
Undocumented |
Property | parsers |
Metadata item name to parser function mapping. |
Method | _parse |
Parses `version` option value. |
Inherited from ConfigHandler
:
Method | __setitem__ |
Undocumented |
Method | parse |
Parses configuration file items from one or more related sections. |
Method | parse |
Parses configuration file section. |
Instance Variable | ensure |
Undocumented |
Instance Variable | ignore |
Undocumented |
Instance Variable | sections |
Undocumented |
Instance Variable | set |
Undocumented |
Instance Variable | target |
Undocumented |
Class Method | _exclude |
Returns a parser function to make sure field inputs are not files. |
Class Method | _get |
Returns parser function to represents value as a list. |
Class Method | _parse |
Represents value as boolean. |
Class Method | _parse |
Represents value as a dict. |
Class Method | _parse |
Represents value as a list. |
Class Method | _parse |
Parses section options into a dictionary. |
Class Method | _parse |
Parses section options into a dictionary. |
Class Method | _section |
Undocumented |
Method | _deprecated |
this function will wrap around parameters that are deprecated |
Method | _parse |
Represents value as a module attribute. |
Method | _parse |
Represents value as a string, allowing including text from nearest files using `file:` directive. |
Instance Variable | _referenced |
After parsing configurations, this property will enumerate all files referenced by the "file:" directive. Private API for setuptools only. |
def __init__(self, target_obj:
DistributionMetadata
, options: AllCommandOptions
, ignore_option_errors: bool
, ensure_discovered: expand.EnsurePackagesDiscovered
, package_dir: Optional[ dict]
= None, root_dir: _Path
= os.curdir):
(source)
¶
Undocumented
Options aliases. For compatibility with various packages. E.g.: d2to1 and pbr. Note: `-` in keys is replaced with `_` by config parser.
We need to keep it loose, to be partially compatible with `pbr` and `d2to1` packages which also uses `metadata` section.