setup.py 894 B

1234567891011121314151617181920212223242526
  1. # This file has been dedicated to the public domain, to the extent
  2. # possible under applicable law, via CC0. See
  3. # http://creativecommons.org/publicdomain/zero/1.0/ for more
  4. # information. This file is offered as-is, without any warranty.
  5. import os
  6. import sys
  7. from cx_Freeze import setup, Executable
  8. # Dependencies are automatically detected, but it might need fine tuning.
  9. build_exe_options = {}
  10. # GUI applications require a different base on Windows (the default is for a
  11. # console application).
  12. base = None
  13. icon = None
  14. if sys.platform == "win32":
  15. base = "Win32GUI"
  16. icon = os.path.join("data", "images", "misc", "icon.ico")
  17. setup(name = "ReTux",
  18. version = "1.6",
  19. description = "Libre open source side-scrolling platformer starring Tux the penguin.",
  20. options = {"build_exe": build_exe_options},
  21. executables = [Executable("retux.py", base=base, icon=icon)])