diff options
author | Ben Reynwar <ben@reynwar.net> | 2013-06-03 16:54:24 -0700 |
---|---|---|
committer | Ben Reynwar <ben@reynwar.net> | 2013-06-03 16:54:24 -0700 |
commit | ec2d40b8db3f078a8f8f7ab06dd1fcf07e907548 (patch) | |
tree | 1ac0a00dd2f3fa8e9a4d101fc7c442cfffae0f4e /gr-atsc/python/atsc/__init__.py | |
parent | bceb96b021bab0168e501e74ac38c7e31213b1a1 (diff) |
uninstalled imports: Fixed gr-audio and gr-atsc.
Diffstat (limited to 'gr-atsc/python/atsc/__init__.py')
-rw-r--r-- | gr-atsc/python/atsc/__init__.py | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gr-atsc/python/atsc/__init__.py b/gr-atsc/python/atsc/__init__.py new file mode 100644 index 0000000000..155baa2547 --- /dev/null +++ b/gr-atsc/python/atsc/__init__.py @@ -0,0 +1,34 @@ +# +# Copyright 2013 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# GNU Radio 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. +# +# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +# The presence of this file turns this directory into a Python package + +''' +Blocks and utilities for ATSC (Advanced Television Systems Committee) module. +''' +import os + +try: + from atsc_swig import * +except ImportError: + dirname, filename = os.path.split(os.path.abspath(__file__)) + __path__.append(os.path.join(dirname, "..", "..", "swig")) + from atsc_swig import * |