From 088d2c4fec5b2726ee3085cd84bf9502a25927a3 Mon Sep 17 00:00:00 2001 From: Josh Morman <mormjb@gmail.com> Date: Thu, 23 Apr 2020 07:12:36 -0400 Subject: pmt: add pybind11 bindings --- gnuradio-runtime/python/pmt/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnuradio-runtime/python/pmt/__init__.py') 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. -- cgit v1.2.3