*#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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to