/usr/share/doc/python-serial/examples/setup-miniterm-py2exe.py is in python-serial 2.6-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # setup script for py2exe to create the miniterm.exe
# $Id: setup-miniterm-py2exe.py,v 1.1 2005-09-21 19:51:19 cliechti Exp $
from distutils.core import setup
import glob, sys, py2exe, os
sys.path.append('..')
sys.argv.extend("py2exe --bundle 1".split())
import serial.tools.miniterm
setup(
name = 'miniterm',
zipfile = None,
options = {"py2exe":
{
'dist_dir': 'bin',
'excludes': ['serialjava', 'serialposix', 'serialcli'],
'compressed': 1,
}
},
console = [
#~ "miniterm.py",
serial.tools.miniterm.__file__
],
)
|