At present, we append iRODS's config directory to sys.path using the interpreter:
|
std::string exec_str = "import sys\nsys.path.append('" + etc_irods_path.generic_string() + "')"; |
Let's investigate doing this via
PyConfig instead:
https://docs.python.org/3/library/sys_path_init.html#embedded-python
At present, we append iRODS's config directory to
sys.pathusing the interpreter:irods_rule_engine_plugin_python/src/main.cpp
Line 358 in a27f63c
Let's investigate doing this via
PyConfiginstead:https://docs.python.org/3/library/sys_path_init.html#embedded-python