port build system

This commit is contained in:
Bastian Bloessl
2021-07-19 09:14:24 +02:00
parent 484f8ea48a
commit eeca8906ba
48 changed files with 12835 additions and 317 deletions
+5 -17
View File
@@ -1,19 +1,7 @@
#
# Copyright 2008,2009 Free Software Foundation, Inc.
#
# This application is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This application is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-3.0-or-later
#
# The presence of this file turns this directory into a Python package
@@ -22,13 +10,13 @@
This is the GNU Radio FOO module. Place your Python package
description here (python/__init__.py).
'''
from __future__ import unicode_literals
import os
# import swig generated symbols into the foo namespace
# import pybind11 generated symbols into the foo namespace
try:
# this might fail if the module is python-only
from .foo_swig import *
except ImportError:
from .foo_python import *
except ModuleNotFoundError:
pass
# import any pure python here