Making a simple script standalone
webraviteja at gmail.com
Fri Jan 19 04:57:02 CET 2007
On Jan 18, 2:19 pm, Rikishi 42 <fsck_s... at telenet.be> wrote:
> On Thursday 18 January 2007 10:13, robert wrote:
> > stay with py23 for "a script" (and more) and make <700kB
> > independent distros - UPX and 7zip involved:
> >http://groups.google.com/group/comp.lang.python/msg/edf469a1b3dc3802Thanks, that might be an option. But I might just convince the person to
> let me install Python. :-(
Like you note, it is far simpler to just install Python. Rarely does a
proper cost benefit analysis show any advantage for all the time you
put in for saving a few MB off the installer (since you noted that you
got it working with Py2Exe), especially when you seem to be installing
the app for just one person. How big is your Exe with Py2Exe? Say 3MB?
Is making it 1 MB worth maybe 2 hrs of your time for 1 install?
But just for kicks, check out ShedSkin. Since you mentioned that you
were using very few modules (ShedSkin supports os, stat, string, time),
it might just work. ShedSkin translates your Python code to fast C++
code that can be compiled to a tight app.
More information about the Python-list