MCPcopy
hub / github.com/astral-sh/python-build-standalone / get_targets

Function get_targets

pythonbuild/utils.py:71–74  ·  view source on GitHub ↗

Obtain the parsed targets YAML file.

(yaml_path: pathlib.Path)

Source from the content-addressed store, hash-verified

69
70
71def get_targets(yaml_path: pathlib.Path):
72 """Obtain the parsed targets YAML file."""
73 with yaml_path.open("rb") as fh:
74 return yaml.load(fh, Loader=yaml.SafeLoader)
75
76
77def get_target_settings(yaml_path: pathlib.Path, target: str):

Callers 5

simple_buildFunction · 0.90
mainFunction · 0.90
get_target_settingsFunction · 0.85
supported_targetsFunction · 0.85
target_needsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected