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

prakash jp prakash.stack at gmail.com
Mon Jan 4 03:45:24 CET 2010

*#How to use setup.py file with py2exe:*
python daniesetup.py py2exe --bundle 1

*#Also the data files have to taken care off in the options* list

*#Here is a sample setup.py:*
from distutils.core import setup
import py2exe
import sys

# no arguments
if len(sys.argv) == 1:
# 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'}] )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100104/9f74fda0/attachment.html>

More information about the Python-list mailing list