summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block/apps
diff options
context:
space:
mode:
authorEric Blossom <eb@comsec.com>2010-03-04 07:02:42 -0800
committerEric Blossom <eb@comsec.com>2010-03-04 07:02:42 -0800
commit6c3b6396bc420228215072b2fc1b83c82eaeb291 (patch)
tree1236889fec1ca3b5f65e8b5992a8f67f490a5eb4 /gr-howto-write-a-block/apps
parentb811e8749dcd7c96f1af2d98caba403e50c1602b (diff)
Refactor gr-howto-write-a-block such that it no longer installs into
the gnuradio python namespace, but rather in the howto namespace. This allows it to be installed under a separate --prefix in the common case where the user doing the "out of tree build" is going to be installing their new and/or modified code somewhere other than the system installation directories. Any code that uses these blocks should now import them using: import howto instead of from gnuradio import howto
Diffstat (limited to 'gr-howto-write-a-block/apps')
-rwxr-xr-xgr-howto-write-a-block/apps/howto_square.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-howto-write-a-block/apps/howto_square.py b/gr-howto-write-a-block/apps/howto_square.py
index 8d3d870d84..f14e28325d 100755
--- a/gr-howto-write-a-block/apps/howto_square.py
+++ b/gr-howto-write-a-block/apps/howto_square.py
@@ -5,9 +5,9 @@
# Generated: Thu Nov 12 11:26:07 2009
##################################################
+import howto
from gnuradio import eng_notation
from gnuradio import gr
-from gnuradio import howto
from gnuradio.eng_option import eng_option
from gnuradio.gr import firdes
from gnuradio.wxgui import scopesink2