projects
/
libsigrokdecode.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aca097
)
More paths to the libsigrokdecode Python scripts.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Tue, 6 Apr 2010 00:11:01 +0000
(
02:11
+0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Tue, 6 Apr 2010 00:11:01 +0000
(
02:11
+0200)
decode.c
patch
|
blob
|
history
diff --git
a/decode.c
b/decode.c
index 7bbcff336bf8badf353a392d258a8fc7e1a8bb23..b57dff504c56851a81bf8e7a994ae6d054b6fcd7 100644
(file)
--- a/
decode.c
+++ b/
decode.c
@@
-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;
}