summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Blum2013-06-25 18:13:24 -0700
committerJosh Blum2013-06-25 18:13:24 -0700
commit2001c11e263a068a618bea70b5641a3dcfbdca67 (patch)
treed6364d3f0c898807260727732918bfe770e41876
parentb0e215451656c68a3ac3757497a3442d87682507 (diff)
downloadsandhi-2001c11e263a068a618bea70b5641a3dcfbdca67.tar.gz
sandhi-2001c11e263a068a618bea70b5641a3dcfbdca67.tar.bz2
sandhi-2001c11e263a068a618bea70b5641a3dcfbdca67.zip
gras: do path fix for imports in init.py
m---------gnuradio0
m---------grextras0
-rw-r--r--python/gras/__init__.py5
3 files changed, 5 insertions, 0 deletions
diff --git a/gnuradio b/gnuradio
-Subproject a5f1f379466ea79dddea7e444a670d737434fdd
+Subproject bc22827a72a4e20edfa3d86774140a107e367e9
diff --git a/grextras b/grextras
-Subproject 427cfc9fade6ffc1b6139a95eed77f293126cee
+Subproject 83bc6676b5160ab74e72d70dbfc9e94524ba417
diff --git a/python/gras/__init__.py b/python/gras/__init__.py
index 5d81709..1871a27 100644
--- a/python/gras/__init__.py
+++ b/python/gras/__init__.py
@@ -1,5 +1,10 @@
# Copyright (C) by Josh Blum. See LICENSE.txt for licensing information.
+#add the current path of this module for installed client apps swig imports
+import os
+import sys
+sys.path.append(os.path.dirname(__file__))
+
from PMC import *
from GRAS_SBuffer import SBufferConfig, SBuffer
from GRAS_Tags import Tag, StreamTag, PacketMsg