[IronPython] Dirstributing scripts as Exe

Bruce Bromberek bruce.bromberek at gmail.com
Fri Apr 30 01:17:55 CEST 2010

You also have to watch that the IronPython automatically loads some
assemblies that pyc does not.  It may be overkill but I reference the
following in every script I make into an exe.

#Key IronPython References needed for final EXE when IronPython is not

On Thu, Apr 29, 2010 at 5:13 PM, David DiCato <ddicato at microsoft.com> wrote:

> This is probably an assembly load failure. Try copying "c:\Program
> Files\IronPython 2.6"\*.dll into your program directory. You will also need
> to make sure that sys.path is properly set if you're using the CPython
> standard lib for anything.
> We realize this is kind of an undesirable workaround, which is why we're
> planning to put all of IronPython's required DLLs in the GAC at some point
> in the future.
> - David
> -----Original Message-----
> From: users-bounces at lists.ironpython.com [mailto:
> users-bounces at lists.ironpython.com] On Behalf Of Mico Siahaan
> Sent: Thursday, April 29, 2010 3:04 PM
> To: Users at lists.ironpython.com
> Subject: [IronPython] Dirstributing scripts as Exe
> Dear all,
> In CPython there is py2exe to distribute scripts as exe. I notice
> there is pyc.py scripts in IronPython\Tools. I tried to use pyc to
> compile one simple script. It produced an exe file. But when I tried
> to run the exe file, Windows complained: 'Windows stop working...'.
> Did I do something wrong?
> --
> Mico | mico.siahaan at gmail.com | @bangmico
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100429/0fdce948/attachment.html>

More information about the Ironpython-users mailing list