| 1 |
# setup script for py2exe to create the rfc2217_server.exe |
| 2 |
# |
| 3 |
# (C) 2001-2015 Chris Liechti <[email protected]> |
| 4 |
# |
| 5 |
# SPDX-License-Identifier: BSD-3-Clause |
| 6 |
|
| 7 |
from distutils.core import setup |
| 8 |
import sys |
| 9 |
import py2exe |
| 10 |
|
| 11 |
sys.path.insert(0, '..') |
| 12 |
|
| 13 |
sys.argv.extend("py2exe --bundle 1".split()) |
| 14 |
|
| 15 |
setup( |
| 16 |
name='rfc2217_server', |
| 17 |
zipfile=None, |
| 18 |
options={"py2exe": { |
| 19 |
'dll_excludes': [], |
| 20 |
'includes': [ |
| 21 |
'serial.urlhandler.protocol_hwgrep', 'serial.urlhandler.protocol_rfc2217', |
| 22 |
'serial.urlhandler.protocol_socket', 'serial.urlhandler.protocol_loop'], |
| 23 |
'dist_dir': 'bin', |
| 24 |
'excludes': ['serialjava', 'serialposix', 'serialcli'], |
| 25 |
'compressed': 1, |
| 26 |
}, |
| 27 |
}, |
| 28 |
console=[ |
| 29 |
"rfc2217_server.py", |
| 30 |
], |
| 31 |
) |