[IronPython] v1.1 IronPython.CodeDom.PythonProvider

Aravin avinhan at gmail.com
Thu Nov 26 05:37:06 CET 2009

Hi Owen,

As far as I know if you want to compile a python code you could use:
clr.CompileModules(.). Or you could use the pyc.py provided in the
IronPython2.0 Samples download.


ipy.exe pyc.py /main:winforms_hw.py /target:winexe which will produce a
winforms_hw.dll as well. I'm not sure if you could use these compiles
assemblies from C# or VB but with Ironpython it should be possible. I'm not
sure if this is what you were looking for but hope it helps.




From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] On Behalf Of Owen Sigurdson
Sent: Wednesday, November 25, 2009 11:23 PM
To: users at lists.ironpython.com
Subject: [IronPython] v1.1 IronPython.CodeDom.PythonProvider


I am attempting to upgrade a component from iron python 1.1 to 2.6 that was
previously using the PythonProvider to compile python code into a .NET
assembly.  It looks like this is no longer present in 2.6.  Is this correct?
Are their any plans to resurrect it?  The biggest difficulty I am facing is
not that we require the code to be compiled in an assembly but that
reflection used to return methods in an python class.  Now reflecting on a
python class (that subclasses a given .NET class) only returns the .NET
class members.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20091126/569ec99e/attachment.html>

More information about the Ironpython-users mailing list