diff options
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/gr/__init__.py')
-rw-r--r-- | gnuradio-runtime/python/gnuradio/gr/__init__.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gnuradio-runtime/python/gnuradio/gr/__init__.py b/gnuradio-runtime/python/gnuradio/gr/__init__.py index a1c1d3f397..efe2aec7b9 100644 --- a/gnuradio-runtime/python/gnuradio/gr/__init__.py +++ b/gnuradio-runtime/python/gnuradio/gr/__init__.py @@ -16,19 +16,19 @@ from __future__ import absolute_import from __future__ import unicode_literals # This is the main GNU Radio python module. -# We pull the swig output and the other modules into the gnuradio.gr namespace +# We pull the pybind output and the other modules into the gnuradio.gr namespace -# If gnuradio is installed then the swig output will be in this directory. -# Otherwise it will reside in ../../../swig. +# If gnuradio is installed then the pybind output will be in this directory. +# Otherwise it will reside in bindings/. import os, sys try: - from .runtime_swig import * + from .gr_python import * except ImportError: dirname, filename = os.path.split(os.path.abspath(__file__)) - __path__.append(os.path.join(dirname, "..", "..", "..", "swig")) - from .runtime_swig import * + __path__.append(os.path.join(dirname, "bindings")) + from .gr_python import * from .exceptions import * from .top_block import * |