![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include "shambase/print.hpp"#include "shambase/string.hpp"#include "shambindings/pybindings.hpp"#include "shamcmdopt/env.hpp"#include <pybind11/embed.h>#include <pybind11/stl.h>#include <filesystem>#include <optional>#include <string>#include <vector>
Include dependency graph for locate_pylib.cpp:Go to the source code of this file.
Functions | |
| const char * | configure_time_pylib_paths () |
| Path to shamrock utils lib supplied at configure time. | |
| std::vector< std::string > | configure_time_pylib_paths_str () |
| std::optional< std::string > | shambindings::get_binary_path () |
| std::optional< std::string > | shambindings::is_path_valid_pylib (const std::string &path) |
| std::vector< std::string > | shambindings::get_site_packages () |
| std::string | shambindings::locate_pylib_path (bool do_print) |
Variables | |
| std::optional< std::string > | pylib_path_env_var = shamcmdopt::getenv_str("SHAMROCK_PYLIB_PATH") |
Definition in file locate_pylib.cpp.
| std::vector< std::string > configure_time_pylib_paths_str | ( | ) |
Definition at line 34 of file locate_pylib.cpp.
| std::optional< std::string > shambindings::get_binary_path | ( | ) |
Definition at line 40 of file locate_pylib.cpp.
| std::vector< std::string > shambindings::get_site_packages | ( | ) |
Definition at line 86 of file locate_pylib.cpp.
| std::optional< std::string > shambindings::is_path_valid_pylib | ( | const std::string & | path | ) |
Definition at line 59 of file locate_pylib.cpp.
| std::string shambindings::locate_pylib_path | ( | bool | do_print | ) |
Definition at line 92 of file locate_pylib.cpp.
| std::optional<std::string> pylib_path_env_var = shamcmdopt::getenv_str("SHAMROCK_PYLIB_PATH") |
Definition at line 29 of file locate_pylib.cpp.