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

Method build_extensions

pybind11/setup_helpers.py:278–287  ·  view source on GitHub ↗

Build extensions, injecting C++ std for Pybind11Extension if needed.

(self)

Source from the content-addressed store, hash-verified

276 """
277
278 def build_extensions(self) -> None:
279 """
280 Build extensions, injecting C++ std for Pybind11Extension if needed.
281 """
282
283 for ext in self.extensions:
284 if hasattr(ext, "_cxx_level") and ext._cxx_level == 0:
285 ext.cxx_std = auto_cpp_level(self.compiler)
286
287 super().build_extensions()
288
289
290def intree_extensions(

Callers

nothing calls this directly

Calls 2

hasattrFunction · 0.85
auto_cpp_levelFunction · 0.85

Tested by

no test coverage detected