CVS: python/win32 setup-downloader-py2exe.py,NONE,1.1

Chris Liechti <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/python/win32
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11630/python/win32

Added Files:
	setup-downloader-py2exe.py 
Log Message:
add simple tool that allows to associate file extensions to it for "double click and download" on win32

--- NEW FILE: setup-downloader-py2exe.py ---
# setup script for py2exe to create the msp430-jtag.exe
# $Id: setup-downloader-py2exe.py,v 1.1 2004/09/08 14:58:01 cliechti Exp $

from distutils.core import setup
import glob, sys, py2exe, os

os.chdir('..')
sys.path.append('.')

sys.argv.append("py2exe")

setup(
    name='downloader',
    version='0.5',
    options = {"py2exe":
        {
            'dist_dir': 'bin',
            'dll_excludes': ['HIL.dll', 'MSP430mspgcc.dll'],
            'optimize': 2,
        }
    },
    windows = [
        { 'script': "msp430-downloader.py",
            #~ 'icon_resources': [(0x0001, 'bigicon.ico')]
        },
    ],
    zipfile = "lib/shared-downloader.zip",
    #data files required for the gui version due to EasyDialogs
    data_files = [
        os.path.join(os.path.dirname(sys.executable), 'Lib','site-packages','EasyDialogs','EasyDialogsRes.dll')
    ]
)



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.