Re: Question involving a Python app...



On Aug 31, 8:43 am, sberry <s...@xxxxxxxxxxxxxxxxxx> wrote:
On Aug 31, 8:25 am, kyoso...@xxxxxxxxx wrote:



On Aug 31, 9:52 am, sberry <s...@xxxxxxxxxxxxxxxxxx> wrote:

I am a Flash developer (also a Python dev) and I use an editor called
SEPY Actionscript Editor. The latest release version does not support
Flash CS3, so I downloaded the source from subversion, edited it, and
recompiled to get a version that worked with CS3. Right now, in order
to run the program I have to do a command line "python main.pyw."

The question now is this:
Others in my company would like to use the version I have compiled
without installing Python, wxPython, 4suite, antlr, and a whole bunch
of other Python libs. So, how do I create an executable (on Windows)
to install the program so it will run without the aforementioned
framework being installed?

I know this isn't really an entirely "Pythonic" question, but this
group has always been very helpful in the past.

Thanks

I find GUI2exe to be very easy to use. It's just py2exe with a GUI
frontend. Seehttp://xoomer.alice.it/infinity77/main/GUI2Exe.htmlfor
more information.

Mike

Thanks for the help... and for giving it so quickly - I can always
count on this group.

Problems though... I was successful at creating the dist dir with my
executable file, but when I try to run it I get an error.log file with
the following:

<type 'exceptions.IOError'>
[Errno 9] Bad file descriptor
[53]: main.pyw
[29]: SEPY.pyo
[16]: core\__init__.pyo
[5]: core\documents\__init__.pyo
[11]: core\documents\compare.pyo
[15]: core\documents\editor.pyo
[13]: core\io\__init__.pyo
[6]: core\io\xml\__init__.pyo
[11]: core\io\xml\autoformat.pyo
[29]: Ft\Xml\Domlette.pyo
[355]: Ft\Xml\InputSource.pyo
[584]: Ft\Xml\Catalog.pyo
[62]: warnings.pyo
[126]: warnings.pyo
[122]: Ft\__init__.pyo
------------------------

Can anyone help explain what I am missing here?

THANKS!

Ok, I figured some of this out. I added the module antlr, and the
package Ft and recompiled. Now I have the error.log down to this:

<type 'exceptions.ImportError'>
No module named shell
[53]: main.pyw
[37]: SEPY.pyo
[11]: core\io\PythonShortCut.pyo
------------------------

Any ideas on how to get rid of these last couple of errors?

.



Relevant Pages

  • Re: Question involving a Python app...
    ... Flash CS3, so I downloaded the source from subversion, edited it, and ... without installing Python, wxPython, 4suite, antlr, and a whole bunch ... executable file, but when I try to run it I get an error.log file with ...
    (comp.lang.python)
  • Re: Question involving a Python app...
    ... Flash CS3, so I downloaded the source from subversion, edited it, and ... without installing Python, wxPython, 4suite, antlr, and a whole bunch ...
    (comp.lang.python)
  • Re: Fatal error after RE-installing Python 2.3.4
    ... same tools configuration, and it has been working fine for a long time. ... thought this was odd, took the file, ran pychecker on his system, with ... We have the same version of Python, that being 2.3.4, the same version ... Are you installing it for "all users" or for a single user? ...
    (comp.lang.python)
  • Re: Atlas and NumPy Problems
    ... Robert Kern wrote: ... In installing NumPy, I ... It worked fine on my machine because I had modified my Python config to ...
    (comp.lang.python)
  • Re: (MAC) CoreGraphics module???
    ... after installing Xcode I have ... but all of the Quartz ... There are binary builds for Python up to version 2.4.1. ...
    (comp.lang.python)