Newer
Older
TestStandRepository / Software / Arduino / libraries / pyserial-2.7 / examples / setup-miniterm-py2exe.py
  1. # setup script for py2exe to create the miniterm.exe
  2. # $Id: setup-miniterm-py2exe.py,v 1.1 2005-09-21 19:51:19 cliechti Exp $
  3.  
  4. from distutils.core import setup
  5. import glob, sys, py2exe, os
  6.  
  7. sys.path.insert(0, '..')
  8.  
  9. sys.argv.extend("py2exe --bundle 1".split())
  10.  
  11. import serial.tools.miniterm
  12.  
  13. setup(
  14. name = 'miniterm',
  15. zipfile = None,
  16. options = {"py2exe":
  17. {
  18. 'dist_dir': 'bin',
  19. 'excludes': ['serialjava', 'serialposix', 'serialcli'],
  20. 'compressed': 1,
  21. }
  22. },
  23. console = [
  24. #~ "miniterm.py",
  25. serial.tools.miniterm.__file__
  26. ],
  27. )