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-ui.py 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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": ".\\Carla\\resources\\",
  17. "optimize": True,
  18. }
  19. exe_options = {
  20. "script": "..\\..\\bin\\resources\\{}".format(name),
  21. "icon": "..\\..\\resources\\ico\\carla.ico",
  22. "copyright": "Copyright (C) 2011-2019 Filipe Coelho",
  23. "base": "Win32GUI",
  24. "targetName": "{}.exe".format(name),
  25. }
  26. setup(name = name,
  27. version = VERSION,
  28. description = name,
  29. options = {"build_exe": options},
  30. executables = [Executable(**exe_options)])
  31. # ------------------------------------------------------------------------------------------------------------