we put it after the scripting/python dir, so we look in the build
directory (if applicable) first.
#include <Python.h>
#include "includes.h"
#include "scripting/python/modules.h"
+#include "dynconfig/dynconfig.h"
extern void init_ldb(void);
extern void init_security(void);
return false;
}
+ if (!PySys_PathPrepend(py_path, dyn_PYTHONDIR)) {
+ return false;
+ }
+
asprintf(&newpath, "%s/../scripting/python", bindir);
if (!PySys_PathPrepend(py_path, newpath)) {
free(newpath);