MCPcopy Create free account
hub / github.com/astral-sh/python-build-standalone / find_additional_dependencies

Function find_additional_dependencies

cpython-windows/build.py:1188–1203  ·  view source on GitHub ↗
(project: pathlib.Path)

Source from the content-addressed store, hash-verified

1186 yield f
1187
1188 def find_additional_dependencies(project: pathlib.Path):
1189 vcproj = pcbuild_path / ("%s.vcxproj" % project)
1190
1191 with vcproj.open("r", encoding="utf8") as fh:
1192 for line in fh:
1193 m = RE_ADDITIONAL_DEPENDENCIES.search(line)
1194
1195 if not m:
1196 continue
1197
1198 depends = set(m.group(1).split(";"))
1199 depends.discard("%(AdditionalDependencies)")
1200
1201 return depends
1202
1203 return set()
1204
1205 if arch == "amd64":
1206 abi_platform = "win_amd64"

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected