Re: How to distribute C/C++ python extension module on Linux?

2008-12-05 Thread David Cournapeau
On Fri, Dec 5, 2008 at 5:09 PM, Allen <[EMAIL PROTECTED]> wrote: > I have build an extension module PyRPC.so (why not be libPyRPC.so?). > The PyRPC.so uses API in libRPCPacker.so. > How to distribute the PyRPC.so? The simple answer is you can't. Depending on the distribution, the python interprete

How to distribute C/C++ python extension module on Linux?

2008-12-05 Thread Allen
I have build an extension module PyRPC.so (why not be libPyRPC.so?). The PyRPC.so uses API in libRPCPacker.so. How to distribute the PyRPC.so? I just put PyRPC.so and libRPCPacker.so in the same folder. And under this folder, run python. It tells PyRPC module cannot find a method in libRPCPacker.s