From: john s. <jo...@sa...> - 2007-11-21 16:15:20
|
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 |