ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> py2exe-users
py2exe-users
[Py2exe-users] Newbie Questions
by ejohnso9 other posts by this author
Sep 16 2006 12:21PM messages near this date
[Py2exe-users] pocketpc exe | Re: [Py2exe-users] Newbie Questions
So, I am just trying to get up to speed with how to use py2exe. The sort of distribution mod
el I am trying to acheive for a simple client I want to distribute is basically putting a we
b link to an EXE, you either download or run the EXE directly, and that's it.  A total no br
ainer.  Putty (Simon Tatham's SSH client) has this sort of model: http://the.earth.li/~sgtat
ham/putty/latest/x86/putty.exe


I found the tutorial for py2exe and seem to have gotten though that OK. I wrote my hello wor
ld script and ran setup and produced an exe that runs fine from the dist directory, but if y
ou 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 182
8 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 t
hat was put under the dist directory linked into a single EXE?"

I'm hoping the answer is as simple as putting a few extra config options in the call to setu
p(), but I'm not readily finding information on that subject.  I scanned the topics here: ht
tp://www.py2exe.org/index.cgi/GeneralTipsAndTricks    ...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.

-ej

-------------------------------------------------------------------------
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
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Py2exe-users mailing list
Py2exe-users@[...].net
https://lists.sourceforge.net/lists/listinfo/py2exe-users
Thread:
ejohnso9
Jim-On-Linux
Harald Armin Massa
FlyingIsFun1217
Harald Armin Massa

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved