[IronPython] creatiing .exe file with ipy.exe v. 1.1
Michael Foord
fuzzyman at voidspace.org.uk
Wed Aug 27 23:25:31 CEST 2008
Vadim Khaskel wrote:
>
> Here is the command line output:
>
> C:\Pyc>ipy.exe pyc.py /main:Program.py Form1.py help.py routineM.py
> /target:winexe /r:System.Drawing /r:System.Windows.F
> orms
> Input Files:
> Program.py
> Form1.py
> help.py
> routineM.py
> Resource Files:
> Output:
> Program.exe
> Target:
> WindowApplication
> C:\Pyc>
>
>
> On the machine where I developing this program Program.exe works
> perfectly.
>
> I transfer this file along with Ironpython.dll, IronMath.dll,
> Program.pdb to another machine, and try to start it there...
> and nothing happens, not even error message.
> (I tried to start it from cmd line too)
If you create a Windows Application it detaches from the console so you
will never see any error message. It is likely that you are missing a
module or assembly that you rely on (do you use any standard library
modules?).
Create it as a console application and run it from the command line on
the target machine and you will see the error message.
Michael Foord
>
> appreciate any hint,
>
> Vadim
>
>
>
>
>
> > Message: 5
> > Date: Tue, 26 Aug 2008 20:53:16 +0100
> > From: Michael Foord <fuzzyman at voidspace.org.uk>
> > Subject: Re: [IronPython] ipy.exe location?
> > To: Discussion of IronPython <users at lists.ironpython.com>
> > Message-ID: <48B45F2C.9000702 at voidspace.org.uk>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > Vadim Khaskel wrote:
> > > Where to find ipy.exe in order to use
> > >
> > > ipy.exe pyc.py ...
> > >
> > > is it available in IronPython Studio?
> >
> > I have no idea if it is included in IronPython Studio (probably?), but
> > the easiest way of obtaining it is downloading IronPython:
> >
> > http://www.codeplex.com/IronPython
> >
> > Note that you should use the appropriate version of IronPython for the
> > version of pyc you are using - there are versions of pyc for both
> > IronPython 1 & 2.
> >
> > Also note that if you intend to run pyc on code generated by the
> > IronPython Studio winforms / wpf designers then they will need some
> > manual tweaking in order to work.
> >
> > Michael
>
>
> ------------------------------------------------------------------------
> Be the filmmaker you always wanted to be—learn how to burn a DVD with
> Windows®. Make your smash hit
> <http://clk.atdmt.com/MRT/go/108588797/direct/01/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/
http://www.trypython.org/
http://www.ironpython.info/
http://www.theotherdelia.co.uk/
http://www.resolverhacks.net/
More information about the Ironpython-users
mailing list