From 2001c11e263a068a618bea70b5641a3dcfbdca67 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 25 Jun 2013 18:13:24 -0700 Subject: gras: do path fix for imports in init.py --- gnuradio | 2 +- grextras | 2 +- python/gras/__init__.py | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gnuradio b/gnuradio index a5f1f37..bc22827 160000 --- a/gnuradio +++ b/gnuradio @@ -1 +1 @@ -Subproject commit a5f1f379466ea79dddea7e444a670d737434fdd3 +Subproject commit bc22827a72a4e20edfa3d86774140a107e367e9f diff --git a/grextras b/grextras index 427cfc9..83bc667 160000 --- a/grextras +++ b/grextras @@ -1 +1 @@ -Subproject commit 427cfc9fade6ffc1b6139a95eed77f293126cee8 +Subproject commit 83bc6676b5160ab74e72d70dbfc9e94524ba4172 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 -- cgit