9 474 B

1234567891011121314151617181920
  1. #setup.py: Even more Py2EXE setup stuff:
  2. #ln=\z
  3. try:
  4. # This will create an exe that needs Microsoft Visual C++ 2008
  5. # Redistributable Package
  6. import py2exe
  7. except ImportError:
  8. if len(sys.argv) >= 2 and sys.argv[1] == 'py2exe':
  9. print('Cannot import py2exe', file=sys.stderr)
  10. exit(1)
  11. py2exe_options = {
  12. 'bundle_files': 1,
  13. 'compressed': 1,
  14. 'optimize': 2,
  15. 'dist_dir': '.',
  16. 'dll_excludes': ['w9xpopen.exe', 'crypt32.dll'],
  17. }