From: Larry B. <lar...@we...> - 2007-11-21 17:47:09
|
Sorry, I don't know how to do .dll. If you don't get a better answer wrap the code up as COM object instead. Then you can call from .NET -Larry john saponara wrote: > How can I create a dll from a python module? I need to make the > interface of paramiko (a third party sftp module at > http://www.lag.net/paramiko/) visible to a coworker's dotnet code, so I > want to convert the module (and its dependencies) into a dll. > > I thought the ShippingEmbedded page (under tips and tricks) might help. > It says to create a module-less setup.py: > > from distutils.core import setup > import py2exe > setup() > > and then include the module on the commandline; in my case: > > python setup.py py2exe --includes paramiko > > but the resulting dist folder had no 'paramiko.dll'. I assume the code > I want is sitting in library.zip. Is there a way to expose it as a dll? > > Thanks, > John > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ |