Newer
Older
TestStandRepository / Software / Arduino / libraries / pyserial-2.7 / examples / setup-rfc2217_server-py2exe.py
# setup script for py2exe to create the miniterm.exe
# $Id: setup-rfc2217_server-py2exe.py 452 2012-04-12 16:47:47Z cliechti $

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

sys.path.insert(0, '..')

sys.argv.extend("py2exe --bundle 1".split())

setup(
    name='rfc2217_server',
    zipfile=None,
    options = {"py2exe":
        {
            'dist_dir': 'bin',
            'excludes': ['javax.comm'],
            'compressed': 1,
        }
    },
    console = [
        "rfc2217_server.py",
    ],
)