diff --git a/manager.py b/manager.py index 13d49c3..667ffc5 100644 --- a/manager.py +++ b/manager.py @@ -8,13 +8,6 @@ -import sys -import os - -basedir = os.path.dirname(os.path.abspath(__file__)) -sys.path.append(basedir) -sys.path.append(os.path.join(basedir, 'lib')) - import raws import pydwarf diff --git a/pydwarf/__init__.py b/pydwarf/__init__.py index 3c8f61c..e5dd113 100644 --- a/pydwarf/__init__.py +++ b/pydwarf/__init__.py @@ -24,6 +24,14 @@ +import sys +import os + +# Expose the packaged yaml dependency +basedir = os.path.dirname(os.path.abspath(__file__)) + '/..' +sys.path.append(basedir) +sys.path.append(os.path.join(basedir, 'lib')) + import logger import response import helpers