Hi all,
#use py2exe properly to create a single distributable exe

#setup.py- create a single exe that runs all boxex

from distutils.core import setup
import py2exe
import sys
# no arguments
if len(sys.argv) == 1:
    sys.argv.append("py2exe")
# creates a standalone .exe file, no zip files
setup( options = {"py2exe": {"compressed": 1, "optimize": 2, "ascii": 1,
"bundle_files": 1}},
       zipfile = None,
       # replace test.py with your own code filename here ...
       console = [{"script": *'test.py*'}] )
-------------------------------------------

vc ++ redistributable is a good option as well.


Regards
Prakash
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to