Instructions on how to build py2exe 0.6.8 (or an installer would be nice, too!)

chardish at gmail.com chardish at gmail.com
Wed Jun 11 13:38:46 EDT 2008


On Jun 10, 8:50 pm, Mike Driscoll <kyoso... at gmail.com> wrote:
> Evan,
>
> <snip>
>
>
>
> > > I finally figured out how to check out the code. I'm at work now,
> > > where I only have VS2008 installed so I'll have to wait until I get
> > > home this evening to try compiling it. I'll let you know if I have any
> > > luck.
>
> > > ---------------------
> > > Mike
>
> > > Python Extension Building Network:
>
> > Thanks, Mike. Hopefully you'll have more luck than I've had : )
>
> > Evan
>
> I got it compiled. They are up on my website:
>
> http://pythonlibrary.org/python_modules.htm
>
> I tested it on one of my simple programs and it ran. I used the 2.5
> version for that test. However, it should be noted that I haven't been
> able to get the tests from CVS to run. The Traceback doesn't appear to
> be py2exe related though. I'll post the issue to their group and see
> if they have any idea why that would be.
>
> In the meantime, feel free to give it a try. At worst you'll have to
> delete the compiled binary and the py2exe folder.
>
> Mike

Mike -

Thank you VERY much! py2exe installed fine and I now have a working
single-file executable that I can actually change the name of. Your
website looks useful in general; I'll store it away for the next time
I need to do Python programming on win32.

Larry - I'm of the philosophy that very simple tools (as opposed to
full applications) should not require installation, and if the tool is
so simple as to not even require saving configuration/preference files
(as mine is) it shouldn't even need its own directory. It should just
be a simple, convenient, portable executable. I like the OS X .app
file format (where the "application file" is merely a directory that
behaves differently by executing the main program when you double-
click it, instead of opening the directory) but it doesn't look like
that will be adapted on Windows anytime soon, so short of making
someone dump a bunch of inconvenient files someplace on their hard
drive, a single executable is the most prudent choice, IMHO.

Thanks, everyone, for your help!

Cheers,
Evan




More information about the Python-list mailing list