On Saturday 16 September 2006 15:20, you wrote:
> So, I am just trying to get up to speed with
> how to use py2exe. The sort of distribution
> model I am trying to acheive for a simple
> client I want to distribute is basically
> putting a web link to an EXE, you either
> download or run the EXE directly, and that's
> it. A total no brainer. Putty (Simon Tatham's
> SSH client) has this sort of model:
> I found the tutorial for py2exe and seem to
> have gotten though that OK. I wrote my hello
> world script and ran setup and produced an exe
> that runs fine from the dist directory, but if
> you copy it out of there, it does not. I guess
> that is no big surprise as I've spearated it
> from the rest of the supporting stuff in dist
> that was put there for good reason.
> I found the FAQ, but is rather on the light
> side, having only 1 question: "What does py2exe
> actually do and what are all those files?"
> I think I've got a pretty good handle on what
> it does, I understand why I might need the 1828
> KB file "python24.dll" and other stuff... I
> would think the next most popular question(s)
> would be "What if I just want a single
> executable? How do I get the DLL's and other
> stuff that was put under the dist directory
> linked into a single EXE?"
This is another way of looking at this question.
I haven't been involved in this this yet because
of time restrictions.
You might try searching the website
They offer a zip file that will self unpack as an
exe for Windows. There may be a way to execute
your exe file right after unpacking. This will
allow you to include all that stuff that is
However, if the file msvcr71dll is required. it
must be outside of the exe file, as of the last
time I heard about it.
And there may be other files that can't be
included, but others will have to respond as to
what they are.
> I'm hoping the answer is as simple as putting a
> few extra config options in the call to
> setup(), but I'm not readily finding
> information on that subject. I scanned the
> topics here:
>ricks ...nothing is jumping out at me...
> Can someone please advise me on whether this
> can be done, and if so, how?
> Thanks for taking the time to read my post.
>-------------------------- Using Tomcat but need
> to do more? Need to support web services,
> security? Get stuff done quickly with
> pre-integrated technology to make your job
> easier Download IBM WebSphere Application
> Server v.1.0.1 based on Apache Geronimo
> Py2exe-users mailing list