(self)
Build extensions, injecting C++ std for Pybind11Extension if needed.
Build extensions, injecting C++ std for Pybind11Extension if needed.
Build extensions injecting C ++ std for Pybind11Extension if needed .
def build_extensions(self):
        """
        Build extensions, injecting C++ std for Pybind11Extension if needed.
        """

        for ext in self.extensions:
            if hasattr(ext, "_cxx_level") and ext._cxx_level == 0:
                # Python 2 syntax - old-style distutils class
                ext.__class__.cxx_std.__set__(ext, auto_cpp_level(self.compiler))

        # Python 2 doesn't allow super here, since distutils uses old-style
        # classes!
        _build_ext.build_extensions(self)
def build_extensions ( self ) : for ext in self . extensions : if hasattr ( ext , "_cxx_level" ) and ext . _cxx_level == 0 : # Python 2 syntax - old-style distutils class ext . __class__ . cxx_std . __set__ ( ext , auto_cpp_level ( self . compiler ) ) # Python 2 doesn't allow super here, since distutils uses old-style # classes! _build_ext . build_extensions ( self )