summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/python.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/python.cc b/src/python.cc
index e5224921..60c3e012 100644
--- a/src/python.cc
+++ b/src/python.cc
@@ -352,6 +352,11 @@ void python_init(char *argv0)
PyRun_SimpleString("from _otk import *; from _openbox import *;");
PyRun_SimpleString("openbox = Openbox_instance()");
+ /* XXX
+ sys.path.append('stuff')
+ install the .py wrappers, and include their path with this, then import em
+ */
+
// set up access to the python global variables
PyObject *obmodule = PyImport_AddModule("__main__");
obdict = PyModule_GetDict(obmodule);