Which version of MSVC?90.DLL's to distribute with Python 2.6 based Py2exe executables?

prakash jp prakash.stack at gmail.com
Wed Dec 30 20:10:14 EST 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091231/bdc34010/attachment.html>


More information about the Python-list mailing list