blob: 54c8dfa445a900014bc7fc037534617ad6168e6e [file] [log] [blame]
cliechtief39b8b2009-08-07 18:22:49 +00001# setup script for py2exe to create the miniterm.exe
2# $Id$
3
4from distutils.core import setup
5import glob, sys, py2exe, os
6
cliechti1351dde2012-04-12 16:47:47 +00007sys.path.insert(0, '..')
cliechtief39b8b2009-08-07 18:22:49 +00008
9sys.argv.extend("py2exe --bundle 1".split())
10
11setup(
12 name='rfc2217_server',
13 zipfile=None,
cliechti6b7f7bd2013-11-20 21:37:02 +000014 options = {"py2exe": {
15 'dll_excludes': [],
16 'includes': [
17 'serial.urlhandler.protocol_hwgrep', 'serial.urlhandler.protocol_rfc2217',
18 'serial.urlhandler.protocol_socket', 'serial.urlhandler.protocol_loop',],
19 'dist_dir': 'bin',
20 'excludes': ['serialjava', 'serialposix', 'serialcli'],
21 'compressed': 1,
22 },
cliechtief39b8b2009-08-07 18:22:49 +000023 },
24 console = [
25 "rfc2217_server.py",
26 ],
27)