aboutsummaryrefslogtreecommitdiff
path: root/libs/plugin_python/src/runner
diff options
context:
space:
mode:
Diffstat (limited to 'libs/plugin_python/src/runner')
-rw-r--r--libs/plugin_python/src/runner/pythonrunner.cpp4
-rw-r--r--libs/plugin_python/src/runner/pythonrunner.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/libs/plugin_python/src/runner/pythonrunner.cpp b/libs/plugin_python/src/runner/pythonrunner.cpp
index c630530..d74db4c 100644
--- a/libs/plugin_python/src/runner/pythonrunner.cpp
+++ b/libs/plugin_python/src/runner/pythonrunner.cpp
@@ -300,8 +300,8 @@ namespace mo2::python {
#ifdef _WIN32
py::module_::import("os").attr("add_dll_directory")(absolute(dllPath));
#else
- // On Linux, there is no add_dll_directory equivalent; prepend the folder to
- // sys.path so Python extension modules can be found.
+ // On Linux, prepend the folder to sys.path so Python extension modules
+ // can be found.
ensureFolderInPath(QString::fromStdString(absolute(dllPath).string()));
#endif
}
diff --git a/libs/plugin_python/src/runner/pythonrunner.h b/libs/plugin_python/src/runner/pythonrunner.h
index 5f9751b..71a4bb9 100644
--- a/libs/plugin_python/src/runner/pythonrunner.h
+++ b/libs/plugin_python/src/runner/pythonrunner.h
@@ -33,7 +33,7 @@ namespace mo2::python {
virtual bool
initialize(std::vector<std::filesystem::path> const& pythonPaths = {}) = 0;
- // add a DLL search path
+ // add a native extension/library search path
//
virtual void addDllSearchPath(std::filesystem::path const& dllPath) = 0;