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.

app-plugin.py 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. # ------------------------------------------------------------------------------------------------------------
  4. # Imports (cx_Freeze)
  5. from cx_Freeze import setup, Executable
  6. # ------------------------------------------------------------------------------------------------------------
  7. # Imports (Custom Stuff)
  8. from carla_host import VERSION
  9. from os import getenv
  10. # ------------------------------------------------------------------------------------------------------------
  11. name = getenv("TARGET_NAME")
  12. options = {
  13. "zip_include_packages": ["*"],
  14. "zip_exclude_packages": ["PyQt5"],
  15. "replace_paths": [["*","./lib/"]],
  16. "build_exe": "./build-carla",
  17. "optimize": True,
  18. }
  19. exe_options = {
  20. "script": "./bin/resources/{}".format(name),
  21. "targetName": name,
  22. }
  23. setup(name = "Carla",
  24. version = VERSION,
  25. description = name,
  26. options = {"build_exe": options},
  27. executables = [Executable(**exe_options)])
  28. # ------------------------------------------------------------------------------------------------------------