win32exe.py 780 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $Id$
  2. # call with:
  3. # PYTHONPATH=derived python win32exe.py py2exe
  4. from distutils.core import setup
  5. import py2exe
  6. import glob
  7. setup(
  8. windows = [
  9. {
  10. "script": "derived/catapult.py",
  11. "icon_resources": [(0, "derived/catapult.ico")],
  12. "name": "openMSX Catapult",
  13. "version": "0.0.0",
  14. "description": "The GUI for openMSX",
  15. "author": "openMSX Team",
  16. "copyright": "(c) 2006-2008, openMSX Team",
  17. "comments": "beware that this is still a prototype!",
  18. "company_name": "openMSX Team"
  19. }
  20. ],
  21. data_files = [
  22. ("", glob.glob("derived/*.png"))
  23. ],
  24. zipfile = None,
  25. options = {"py2exe": {
  26. "includes": ["sip", "PyQt4"],
  27. "dist_dir": "derived/dist",
  28. "unbuffered": True,
  29. "optimize": 2,
  30. "bundle_files": 1,
  31. "compressed": 1
  32. }
  33. }
  34. )