MCPcopy Index your code
hub / github.com/python/cpython / get_nuspec_layout

Function get_nuspec_layout

PC/layout/support/nuspec.py:75–85  ·  view source on GitHub ↗
(ns)

Source from the content-addressed store, hash-verified

73
74
75def get_nuspec_layout(ns):
76 if ns.include_all or ns.include_nuspec:
77 data = dict(NUSPEC_DATA)
78 for k, v in _get_nuspec_data_overrides(ns):
79 if not data.get(k):
80 data[k] = v
81 if ns.include_all or ns.include_props:
82 data["FILELIST"] = FILELIST_WITH_PROPS
83 nuspec = NUSPEC_TEMPLATE.format_map(data)
84 yield "python.nuspec", ("python.nuspec", nuspec.encode("utf-8"))
85 yield "python.png", ns.source / "PC" / "icons" / "logox128.png"

Callers 1

get_layoutFunction · 0.85

Calls 4

format_mapMethod · 0.80
getMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…