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

Function get_global

extern/pybind/tools/make_global.py:16–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15
16def get_global() -> str:
17 pyproject = tomlkit.parse(PYPROJECT.read_text())
18 del pyproject["tool"]["scikit-build"]["generate"]
19 del pyproject["project"]["entry-points"]
20 del pyproject["project"]["scripts"]
21 del pyproject["tool"]["scikit-build"]["metadata"]["optional-dependencies"]
22 pyproject["project"]["name"] = "pybind11-global"
23 pyproject["tool"]["scikit-build"]["experimental"] = True
24 pyproject["tool"]["scikit-build"]["wheel"]["install-dir"] = "/data"
25 pyproject["tool"]["scikit-build"]["wheel"]["packages"] = []
26
27 result = tomlkit.dumps(pyproject)
28 assert isinstance(result, str)
29 return result
30
31
32if __name__ == "__main__":

Callers 1

make_global.pyFile · 0.85

Calls 2

isinstanceFunction · 0.85
parseMethod · 0.45

Tested by

no test coverage detected