Classes | |
class | build_ext |
class | Pybind11Extension |
Functions | |
def | auto_cpp_level (compiler) |
def | build_extensions (self) |
def | has_flag (compiler, flag) |
def | tmp_chdir () |
Variables | |
cpp_cache_lock | |
cpp_flag_cache | |
MACOS | |
PY2 | |
STD_TMPL | |
tmp_chdir_lock | |
WIN | |
def pybind11.setup_helpers.auto_cpp_level | ( | compiler | ) |
Return the max supported C++ std level (17, 14, or 11).
Definition at line 228 of file setup_helpers.py.
def pybind11.setup_helpers.build_extensions | ( | self | ) |
Customized build_ext that allows an auto-search for the highest supported C++ level for Pybind11Extension.
Build extensions, injecting C++ std for Pybind11Extension if needed.
Definition at line 258 of file setup_helpers.py.
def pybind11.setup_helpers.has_flag | ( | compiler, | |
flag | |||
) |
Return the flag if a flag name is supported on the specified compiler, otherwise None (can be used as a boolean). If multiple flags are passed, return the first that matches.
Definition at line 205 of file setup_helpers.py.
def pybind11.setup_helpers.tmp_chdir | ( | ) |
Definition at line 189 of file setup_helpers.py.
pybind11.setup_helpers.cpp_cache_lock |
Definition at line 185 of file setup_helpers.py.
pybind11.setup_helpers.cpp_flag_cache |
Definition at line 225 of file setup_helpers.py.
pybind11.setup_helpers.MACOS |
Definition at line 56 of file setup_helpers.py.
pybind11.setup_helpers.PY2 |
Definition at line 55 of file setup_helpers.py.
pybind11.setup_helpers.STD_TMPL |
Definition at line 57 of file setup_helpers.py.
pybind11.setup_helpers.tmp_chdir_lock |
Definition at line 184 of file setup_helpers.py.
pybind11.setup_helpers.WIN |
Definition at line 54 of file setup_helpers.py.