Audio plugin host https://kx.studio/carla
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.

40 lines
1.2KB

  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. # ------------------------------------------------------------------------------------------------------------
  4. # Imports (cx_Freeze)
  5. from cx_Freeze import setup, Executable
  6. from os import getenv
  7. # ------------------------------------------------------------------------------------------------------------
  8. # Imports (Custom Stuff)
  9. from carla_host import VERSION
  10. # ------------------------------------------------------------------------------------------------------------
  11. SCRIPT_NAME = getenv("SCRIPT_NAME")
  12. options = {
  13. "zip_include_packages": ["*"],
  14. "zip_exclude_packages": ["PyQt5"],
  15. "replace_paths": [["*","@executable_path/"]],
  16. "optimize": True,
  17. }
  18. boptions = {
  19. "iconfile": "./resources/ico/carla.icns"
  20. }
  21. if SCRIPT_NAME in ("Carla", "Carla-Control"):
  22. boptions["custom_info_plist"] = "./data/macos/%s_Info.plist" % SCRIPT_NAME
  23. setup(name = "Carla",
  24. version = VERSION,
  25. description = "Carla Plugin Host",
  26. options = {"build_exe": options, "bdist_mac": boptions},
  27. executables = [Executable("./source/frontend/%s.pyw" % SCRIPT_NAME)])
  28. # ------------------------------------------------------------------------------------------------------------