diff --git a/__init__.py b/__init__.py index e456109..365d0ec 100644 --- a/__init__.py +++ b/__init__.py @@ -7,6 +7,8 @@ from .bacon import ( SyntaxErrorListener, load_config, comment, + WALKER, + LISTENER, ) __all__ = [ @@ -16,4 +18,6 @@ __all__ = [ "SyntaxErrorListener", "load_config", "comment", + "WALKER", + "LISTENER", ] diff --git a/bacon/__init__.py b/bacon/__init__.py index 2496720..e9ba15d 100644 --- a/bacon/__init__.py +++ b/bacon/__init__.py @@ -2,7 +2,13 @@ from .hog4 import HogNet from .OscListener import beautify_lisp_string, OscCommentMacroListener -from .script import SyntaxErrorListener, load_config, comment +from .script import ( + SyntaxErrorListener, + load_config, + comment, + WALKER, + LISTENER +) __all__ = [ "HogNet", @@ -17,4 +23,6 @@ __all__ = [ "SyntaxErrorListener", "load_config", "comment", + "WALKER", + "LISTENER", ] diff --git a/bacon/script.py b/bacon/script.py index d9a3102..9467169 100644 --- a/bacon/script.py +++ b/bacon/script.py @@ -16,6 +16,8 @@ __all__ = [ "SyntaxErrorListener", "load_config", "comment", + "WALKER", + "LISTENER", ] class SyntaxErrorListener(ErrorListener): diff --git a/bs.py b/bs.py index 8eb7c54..0e75231 100755 --- a/bs.py +++ b/bs.py @@ -5,9 +5,8 @@ import logging import sys -from bacon.script import comment, LISTENER -from bacon.script import load_config as loadBsConfig -from bacon.hog4 import HogNet +from .bacon import comment, LISTENER, HogNet +from .bacon import load_config as loadBsConfig # setup logging