diff options
author | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2009-08-07 18:22:49 +0000 |
---|---|---|
committer | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2009-08-07 18:22:49 +0000 |
commit | 82b30aadd0d7f693fe3f2a882b18e5ac2f0517bd (patch) | |
tree | 9b0e6be17f3224bca42073ba77674455cb4b2929 /examples/setup-rfc2217_server-py2exe.py | |
parent | 93bfe4f43975cf7f6af788b863a1fec7c2379f32 (diff) | |
download | pyserial-82b30aadd0d7f693fe3f2a882b18e5ac2f0517bd.tar.gz |
add a simplified single port RFC 2217 server
git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@320 f19166aa-fa4f-0410-85c2-fa1106f25c8a
Diffstat (limited to 'examples/setup-rfc2217_server-py2exe.py')
-rw-r--r-- | examples/setup-rfc2217_server-py2exe.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/setup-rfc2217_server-py2exe.py b/examples/setup-rfc2217_server-py2exe.py new file mode 100644 index 0000000..020427e --- /dev/null +++ b/examples/setup-rfc2217_server-py2exe.py @@ -0,0 +1,24 @@ +# setup script for py2exe to create the miniterm.exe +# $Id$ + +from distutils.core import setup +import glob, sys, py2exe, os + +sys.path.append('..') + +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", + ], +) |