summaryrefslogtreecommitdiff
path: root/gr-network/python/network/__init__.py
blob: 6a927c19fb2e6aa5a9fbfbbf025376a82c2f8517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
# Copyright 2020 Free Software Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
#

# The presence of this file turns this directory into a Python package

'''
This is the GNU Radio NETWORK module. Place your Python package
description here (python/__init__.py).
'''
from __future__ import unicode_literals

# import swig generated symbols into the network namespace
import os

try:
    from .network_python import *
except ImportError:
    dirname, filename = os.path.split(os.path.abspath(__file__))
    __path__.append(os.path.join(dirname, "bindings"))
    from .network_python import *

# import any pure python here
#
from . import tcp_source