MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / make_release_tree

Method make_release_tree

extern/pybind/setup.py:99–109  ·  view source on GitHub ↗
(self, base_dir: str, files: list[str])

Source from the content-addressed store, hash-verified

97# on it, like a wheel)
98class SDist(setuptools.command.sdist.sdist):
99 def make_release_tree(self, base_dir: str, files: list[str]) -> None:
100 super().make_release_tree(base_dir, files)
101
102 for to, src in to_src:
103 txt = get_and_replace(src, binary=True, version=version, extra_cmd="")
104
105 dest = Path(base_dir) / to
106
107 # This is normally linked, so unlink before writing!
108 dest.unlink()
109 dest.write_bytes(txt) # type: ignore[arg-type]
110
111
112# Remove the CMake install directory when done

Callers

nothing calls this directly

Calls 1

get_and_replaceFunction · 0.85

Tested by

no test coverage detected