[IronPython] Distributing scripts as Exe

Mico Siahaan mico.siahaan at gmail.com
Fri Apr 30 03:21:22 CEST 2010


Hi David, I already put all *.dll files into my program directory but got the same problem. Unluckily Windows did not show details of what went wrong. So I have no idea what did really happen.

Rgds,

---
Mico | mico.siahaan at gmail.com | @bangmico

-----Original Message-----
From: David DiCato <ddicato at microsoft.com>
Date: Thu, 29 Apr 2010 22:13:46 
To: Discussion of IronPython<users at lists.ironpython.com>
Subject: Re: [IronPython] Dirstributing scripts as Exe

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


More information about the Ironpython-users mailing list