summaryrefslogtreecommitdiff
path: root/python/gras/__init__.py
diff options
context:
space:
mode:
authorJosh Blum2013-06-25 18:13:24 -0700
committerJosh Blum2013-06-25 18:13:24 -0700
commit2001c11e263a068a618bea70b5641a3dcfbdca67 (patch)
treed6364d3f0c898807260727732918bfe770e41876 /python/gras/__init__.py
parentb0e215451656c68a3ac3757497a3442d87682507 (diff)
downloadsandhi-2001c11e263a068a618bea70b5641a3dcfbdca67.tar.gz
sandhi-2001c11e263a068a618bea70b5641a3dcfbdca67.tar.bz2
sandhi-2001c11e263a068a618bea70b5641a3dcfbdca67.zip
gras: do path fix for imports in init.py
Diffstat (limited to 'python/gras/__init__.py')
-rw-r--r--python/gras/__init__.py5
1 files changed, 5 insertions, 0 deletions
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