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

prakash jp prakash.stack at gmail.com
Sun Jan 3 21:45:24 EST 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:
    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'}] )
Regards
Prakash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100104/9f74fda0/attachment-0001.html>


More information about the Python-list mailing list