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.

37 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. options = {
  12. "packages": ["re", "sip", "subprocess", "inspect"],
  13. "excludes": ["PyQt5.QtNetwork", "PyQt5.QtSql", "PyQt5.QtTest", "PyQt5.QtXml", "XCTest"],
  14. "create_shared_zip": False,
  15. "append_script_to_exe": True,
  16. "optimize": True,
  17. "compressed": True
  18. }
  19. boptions = {
  20. "iconfile": "./resources/ico/carla.icns"
  21. }
  22. setup(name = "Carla",
  23. version = VERSION,
  24. description = "Carla Plugin Host",
  25. options = {"build_exe": options, "bdist_mac": boptions},
  26. executables = [Executable("./source/%s.pyw" % getenv("SCRIPT_NAME"))])
  27. # ------------------------------------------------------------------------------------------------------------