gr-satnogs/python/__init__.py

39 lines
1.4 KiB
Python

#
# 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.
#
# The presence of this file turns this directory into a Python package
'''
This is the GNU Radio SATNOGS module. Place your Python package
description here (python/__init__.py).
'''
from __future__ import unicode_literals
import sys
# import swig generated symbols into the satnogs namespace
try:
# this might fail if the module is python-only
from .satnogs_swig import *
from .doppler_compensation import doppler_compensation
from .utils import *
except ImportError as err:
sys.stderr.write("Failed to import SatNOGS ({})\n".format(err))
sys.stderr.write("Consider first to run 'sudo ldconfig'\n")
pass