K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / share / doc / python-serial / examples /
server ip : 104.21.89.46

your ip : 172.71.255.78

H O M E


Filename/usr/share/doc/python-serial/examples/setup-wxTerminal-py2exe.py
Size917
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 09:56
Last modified11-Aug-2009 06:32
Last accessed06-Jul-2025 23:32
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
# This is a setup.py example script for the use with py2exe
from distutils.core import setup
import py2exe
import sys, os

#this script is only useful for py2exe so just run that distutils command.
#that allows to run it with a simple double click.
sys.argv.append('py2exe')

#get an icon from somewhere.. the python installation should have one:
icon = os.path.join(os.path.dirname(sys.executable), 'py.ico')

setup(
options = {'py2exe': {
'excludes': ['javax.comm'],
'optimize': 2,
'dist_dir': 'dist',
}
},

name = "wxTerminal",
windows = [
{
'script': "wxTerminal.py",
'icon_resources': [(0x0004, icon)]
},
],
zipfile = "stuff.lib",

description = "Simple serial terminal application",
version = "0.1",
author = "Chris Liechti",
author_email = "[email protected]",
url = "http://pyserial.sf.net",
)