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 --- python/gras/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'python/gras') 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