Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
932B

  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. # ------------------------------------------------------------------------------------------------------------
  4. # Imports (cx_Freeze)
  5. from cx_Freeze import setup, Executable
  6. # ------------------------------------------------------------------------------------------------------------
  7. options = {
  8. "zip_include_packages": ["*"],
  9. "zip_exclude_packages": ["mod","modtools"],
  10. "replace_paths": [["*",".\\lib\\"]],
  11. "build_exe": ".\\build",
  12. "optimize": True,
  13. }
  14. exe_options = {
  15. "script": ".\\server.py",
  16. "copyright": "Copyright (C) 2023 MOD Audio UG",
  17. "targetName": "mod-ui.exe",
  18. }
  19. setup(name = "mod-ui",
  20. version = "0.0.0",
  21. description = "MOD Web interface",
  22. options = {"build_exe": options},
  23. executables = [Executable(**exe_options)])
  24. # ------------------------------------------------------------------------------------------------------------