summaryrefslogtreecommitdiff
path: root/gruel/src/python
diff options
context:
space:
mode:
authorTom Rondeau2011-05-25 02:02:12 -0700
committerTom Rondeau2011-05-25 02:02:12 -0700
commitf5d6c321dcdba35189b120795dccad5b12ce8939 (patch)
tree151031324ee1fc776a89f4f883cfab51104a7908 /gruel/src/python
parenta442150fe2aefac17db65f298057f15be4cbded0 (diff)
parentee852007b1c0dbeeed6edeb9d5b8b07fed13df91 (diff)
downloadgnuradio-f5d6c321dcdba35189b120795dccad5b12ce8939.tar.gz
gnuradio-f5d6c321dcdba35189b120795dccad5b12ce8939.tar.bz2
gnuradio-f5d6c321dcdba35189b120795dccad5b12ce8939.zip
Merge pull request #1 from tttx/pmt-swig-fix
Pmt swig fix
Diffstat (limited to 'gruel/src/python')
-rw-r--r--gruel/src/python/Makefile.am4
-rw-r--r--gruel/src/python/__init__.py2
-rw-r--r--gruel/src/python/pmt/__init__.py25
3 files changed, 30 insertions, 1 deletions
diff --git a/gruel/src/python/Makefile.am b/gruel/src/python/Makefile.am
index 5a45510d5..80cb04b24 100644
--- a/gruel/src/python/Makefile.am
+++ b/gruel/src/python/Makefile.am
@@ -35,5 +35,9 @@ noinst_PYTHON = \
gruel_PYTHON = \
__init__.py
+gruelpmtdir = $(pythondir)/gruel/pmt
+
+gruelpmt_PYTHON = pmt/__init__.py
+
endif
diff --git a/gruel/src/python/__init__.py b/gruel/src/python/__init__.py
index 421a9aaa8..14014cc5a 100644
--- a/gruel/src/python/__init__.py
+++ b/gruel/src/python/__init__.py
@@ -21,5 +21,5 @@
# The presence of this file turns this directory into a Python package
-from pmt_swig import *
+import pmt;
diff --git a/gruel/src/python/pmt/__init__.py b/gruel/src/python/pmt/__init__.py
new file mode 100644
index 000000000..421a9aaa8
--- /dev/null
+++ b/gruel/src/python/pmt/__init__.py
@@ -0,0 +1,25 @@
+#
+# Copyright 2011 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
+
+from pmt_swig import *
+