To compile a Python source file to an executable, you can use the –X:SaveAssemblies option in the IronPython console.
Given a file source.py, you would just do:

IronPythonConsole –X:SaveAssemblies source.py

And this will produce a source.exe file. The executable, however, will still need the IronPython.dll reference.

Kamal Mansouri


So what is the status of compiling to standalone IL programs? Last thing I
heard was that it was rather experimental.


_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to