diff --git a/python/__init__.py b/python/__init__.py index 4ea1bc9..1161b65 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -15,9 +15,21 @@ # along with this program. If not, see . # -# import swig generated symbols into the test namespace -from .ieee802_11_swig import * -from .utils import * +# The presence of this file turns this directory into a Python package + +''' +This is the GNU Radio IEEE802_11 module. Place your Python package +description here (python/__init__.py). +''' +from __future__ import unicode_literals + +# import swig generated symbols into the ieee802_11 namespace +try: + # this might fail if the module is python-only + from .ieee802_11_swig import * +except ImportError: + pass # import any pure python here +from .utils import * #