MCPcopy Create free account
hub / github.com/pybind/pybind11 / build

Function build

noxfile.py:107–114  ·  view source on GitHub ↗

Build SDist and wheel.

(session: nox.Session)

Source from the content-addressed store, hash-verified

105
106@nox.session(reuse_venv=True, default=False)
107def build(session: nox.Session) -> None:
108 """
109 Build SDist and wheel.
110 """
111
112 session.install("build")
113 session.log("Building normal files")
114 session.run("python", "-m", "build", *session.posargs)
115
116
117@contextlib.contextmanager

Callers

nothing calls this directly

Calls 2

installMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected