discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Python blocks in a new package


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Python blocks in a new package
Date: Tue, 20 Nov 2007 14:19:29 -0800
User-agent: Mutt/1.5.9i

On Tue, Nov 20, 2007 at 04:04:49PM -0500, Ed Criscuolo wrote:
> Johnathan Corgan wrote:
> >
> >You need to add one line to configure.ac specifying the new makefile.
> >It's near the bottom.
> >
> 
> 
> Thanks Jonathan.  That got the Makefile.in and the Makefile constructed.
> 
> The make install succeeded, but I only ended up with a file called
> gold_code_pn_source_b.py in .../site-packages/gnuradio/tdrss_utils .
> 
> The .pyc and .pyo files were missing, and any attempt to reference
> tdrss_utils.gold_code_pn_source_b() from a python program fails
> with the message
> 
> AttributeError: 'module' object has no attribute 
> 'gold_code_code_pn_source_b'
> 

You need to install an empty __init__.py in to your tdrss_utils
directory.

See http://docs.python.org/tut/node8.html#SECTION008400000000000000000

for info on Python packages.

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]