diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2010-04-06 02:11:01 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2010-04-06 02:11:01 +0200 |
commit | 3a72d2b31f43788996777b11bff672c0c0e76798 (patch) | |
tree | a7d3cf257eae328a9aa2f38d028c9eaaf2635e16 /decode.c | |
parent | 3aca097f7fa3bd75693954806d64281239cad2fd (diff) | |
download | libsigrokdecode-3a72d2b31f43788996777b11bff672c0c0e76798.tar.gz libsigrokdecode-3a72d2b31f43788996777b11bff672c0c0e76798.zip |
More paths to the libsigrokdecode Python scripts.
Diffstat (limited to 'decode.c')
-rw-r--r-- | decode.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -32,7 +32,12 @@ int sigrokdecode_init(void) Py_Initialize(); /* FIXME */ + /* Allows for ./gui/sigrok-gui in the top-level directory. */ PySys_SetPath("libsigrokdecode/scripts"); + /* Allows for ./sigrok-gui in the gui/ directory. */ + PySys_SetPath("../libsigrokdecode/scripts"); + /* Allows for sigrok-gui from anywhere given sigrok is installed. */ + PySys_SetPath("/usr/local/share/sigrok"); return 0; } |