When run under Win32, IronPython generates an exe which should be importable as an assembly (does it do so when run from Mono? In any case, Mono should still be able to import it, or soon will now that Whidbey has released.).  If you use Reflector (http://www.aisto.com/roeder/dotnet/), you can examine the namespaces contained within the assembly.

 

I don’t know how much this will help, but it’d be a start.

 

-----

Keith J. Farmer

[EMAIL PROTECTED]


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Piessens, Daniel
Sent: Monday, 31 October 2005 15:22
To: [email protected]
Subject: [IronPython] Create a .dll from a Script

 

Hello,

 

My team and I have come across a Python Library Toolkit that we could really use in a .NET application that we are creating. The issue is that the Python Library is far to extensive to re-write in .NET and IronPython seemed like a good choice for converting the python code into a managed assembly. Is this possible, and if so what's the best way to do it. I know that you can create an .exe but it's kind of hard to find where the code is compiling the python script.

 

Thanks,

 

Dan Piessens

_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to