X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gr-howto-write-a-block%2FREADME.hacking;h=c670fd19e1cdf0dc53772c7d0aca04bf66a8e3b2;hb=refs%2Fheads%2Fdfsg-orig;hp=a9e68dd890e4646c10706a1d98e772fd4bc382c3;hpb=86e93e757a16c139f58b8b524c99f994c7bc60c4;p=debian%2Fgnuradio diff --git a/gr-howto-write-a-block/README.hacking b/gr-howto-write-a-block/README.hacking index a9e68dd8..c670fd19 100644 --- a/gr-howto-write-a-block/README.hacking +++ b/gr-howto-write-a-block/README.hacking @@ -69,16 +69,16 @@ that exports the C++ API into a Python namespace. Each GNU Radio block gets a .i file (using SWIG syntax). The master howto.i file must also have a line to include the block header file and a line to import the block .i file. The resulting _howto_swig.so and _howto_swig.py files are installed into the -system Python lib directory under howto/ and become part of the gnuradio.howto -Python namespace. The Makefile.am must be customized to recognize new files -created here. +system Python lib directory under gnuradio/howto and become part of the +gnuradio.howto Python namespace. The Makefile.am must be customized to +recognize new files created here. The 'python' directory contains pure Python modules that get installed into -the system Python lib directory under howto/ and the __init__.py module -needed to turn the directory into the gnuradio.howto namespace. This is the -appropriate place to put hierarchical blocks and utility classes. Be sure -to edit the __init__.py to add your module/symbol imports as necessary, and -to modify the Makefile.am accordingly. +the system Python lib directory under gnuradio/howto and the __init__.py +module needed to turn the directory into the gnuradio.howto namespace. +This is the appropriate place to put hierarchical blocks and utility classes. +Be sure to edit the __init__.py to add your module/symbol imports as +necessary, and to modify the Makefile.am accordingly. This directory also contains Python-based QA code, which is executed during 'make check'.