File: __init__.py

package info (click to toggle)
gr-hpsdr 3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 884 kB
  • sloc: python: 9,498; cpp: 2,227; ansic: 26; makefile: 12
file content (23 lines) | stat: -rw-r--r-- 515 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# Copyright 2008,2009 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 HPSDR module. Place your Python package
description here (python/__init__.py).
'''
import os

# import pybind11 generated symbols into the hpsdr namespace
try:
    # this might fail if the module is python-only
    from .hpsdr_python import *
except ModuleNotFoundError:
    pass

# import any pure python here
#