diff options
author | Josh Morman <mormjb@gmail.com> | 2020-04-23 07:12:36 -0400 |
---|---|---|
committer | Josh Morman <mormjb@gmail.com> | 2020-06-04 10:05:47 -0400 |
commit | 088d2c4fec5b2726ee3085cd84bf9502a25927a3 (patch) | |
tree | 873fef7b5e655e267b3fdbe652a8901ea40adc89 /gnuradio-runtime/python/pmt/__init__.py | |
parent | 9d3c5a133c49a8bba778568fb30c1f3afe577f4c (diff) |
pmt: add pybind11 bindings
Diffstat (limited to 'gnuradio-runtime/python/pmt/__init__.py')
-rw-r--r-- | gnuradio-runtime/python/pmt/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-runtime/python/pmt/__init__.py b/gnuradio-runtime/python/pmt/__init__.py index 05046f05d9..9b3b6f5410 100644 --- a/gnuradio-runtime/python/pmt/__init__.py +++ b/gnuradio-runtime/python/pmt/__init__.py @@ -33,11 +33,11 @@ from __future__ import unicode_literals import os try: - from .pmt_swig import * + from .pmt_python import * except ImportError: dirname, filename = os.path.split(os.path.abspath(__file__)) - __path__.append(os.path.join(dirname, "..", "..", "swig")) - from .pmt_swig import * + __path__.append(os.path.join(dirname, "bindings")) + from .pmt_python import * # due to changes in the PMT_NIL singleton for static builds, we force # this into Python here. |