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: Ed Criscuolo
Subject: Re: [Discuss-gnuradio] Python blocks in a new package
Date: Tue, 27 Nov 2007 13:42:44 -0500
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414

Eric Blossom wrote:
On Tue, Nov 27, 2007 at 10:11:51AM -0500, Ed Criscuolo wrote:

Here's the listing of .../site-packages/gnuradio/tdrss_utils:

-rw-r--r--   1 root  wheel    22 Nov 21 23:41 __init__.py
-rw-r--r--   1 root  wheel   151 Nov 21 23:41 __init__.pyc
-rw-r--r--   1 root  wheel   151 Nov 21 23:41 __init__.pyo
-rw-r--r--   1 root  wheel  1459 Nov 21 23:41 gold_code_pn_source_b.py
-rw-r--r--   1 root  wheel  1131 Nov 20 16:56 gold_code_pn_source_b.pyc
-rw-r--r--   1 root  wheel  1131 Nov 20 16:56 gold_code_pn_source_b.pyo



Where's the shared library (.so file)?


There is no shared library in tdrss_utils.  Should there be?
It only has the one python module, nothing in C++.

I have a separate package called "tdrss" which contains all
the processing blocks written in C++.  Those all work and
pass their QA tests when I do a "make check".

In .../site-packages/gnuradio/ there is:

_tdrss.la
_tdrss.so
tdrss.py
tdrss.pyc
tdrss.pyo
tdrss_utils/

Is there some way to put it all in one package?  When I tried
this by doing a "make" and "make install" with the directory named
...tdrss/src/python/tdrss/, I couldn't import any of my C++ modules.
As soon as I changed the name to ...tdrss/src/python/tdrss_utils/
that problem went away.


@(^.^)@  Ed




reply via email to

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