Functions | |
| std::string | format_python_error (PyObject *ptype, PyObject *pvalue, PyObject *ptraceback) |
| std::string | executable_name (const char *base) |
| bool | add_sys_path_entry (const boost::filesystem::path &path, std::string &error, bool *inserted=nullptr) |
| void | log_python_stream (PyObject *sys, const char *name) |
| void | restore_python_stream (PyObject *sys, const char *name) |
| void | install_python_stderr_redirect () |
| void | log_and_restore_python_stdio () |
| bool | valid_python_home (const boost::filesystem::path &candidate) |
| boost::filesystem::path | find_bundled_python_home () |
| boost::filesystem::path | find_python_executable (const boost::filesystem::path &python_home) |
Variables | |
| constexpr const char * | PYTHON_STDLIB_DIR = "python3.12" |
| constexpr const char * | PYTHON_EXECUTABLE = "python3.12" |
| bool Slic3r::anonymous_namespace{PythonInterpreter.cpp}::add_sys_path_entry | ( | const boost::filesystem::path & | path, |
| std::string & | error, | ||
| bool * | inserted = nullptr ) |
References add_sys_path_entry(), Slic3r::Geometry::contains(), and Slic3r::PyObjectPtr::get().
Referenced by add_sys_path_entry().
| std::string Slic3r::anonymous_namespace{PythonInterpreter.cpp}::executable_name | ( | const char * | base | ) |
References executable_name().
Referenced by executable_name().
| boost::filesystem::path Slic3r::anonymous_namespace{PythonInterpreter.cpp}::find_bundled_python_home | ( | ) |
| boost::filesystem::path Slic3r::anonymous_namespace{PythonInterpreter.cpp}::find_python_executable | ( | const boost::filesystem::path & | python_home | ) |
References valid_python_home().
| std::string Slic3r::anonymous_namespace{PythonInterpreter.cpp}::format_python_error | ( | PyObject * | ptype, |
| PyObject * | pvalue, | ||
| PyObject * | ptraceback ) |
References format_python_error().
Referenced by format_python_error().
| void Slic3r::anonymous_namespace{PythonInterpreter.cpp}::install_python_stderr_redirect | ( | ) |
References Slic3r::data_dir(), Slic3r::get_current_pid(), and install_python_stderr_redirect().
Referenced by install_python_stderr_redirect().
| void Slic3r::anonymous_namespace{PythonInterpreter.cpp}::log_and_restore_python_stdio | ( | ) |
| void Slic3r::anonymous_namespace{PythonInterpreter.cpp}::log_python_stream | ( | PyObject * | sys, |
| const char * | name ) |
References log_python_stream().
Referenced by log_python_stream().
| void Slic3r::anonymous_namespace{PythonInterpreter.cpp}::restore_python_stream | ( | PyObject * | sys, |
| const char * | name ) |
References restore_python_stream().
Referenced by restore_python_stream().
| bool Slic3r::anonymous_namespace{PythonInterpreter.cpp}::valid_python_home | ( | const boost::filesystem::path & | candidate | ) |
Referenced by find_python_executable().
|
constexpr |
|
constexpr |