2 # -*- coding: utf-8 -*-
4 # ------------------------------------------------------------------------------------------------------------
7 from cx_Freeze
import setup
, Executable
10 # ------------------------------------------------------------------------------------------------------------
11 # Imports (Custom Stuff)
13 from carla_host
import VERSION
15 # ------------------------------------------------------------------------------------------------------------
17 SCRIPT_NAME
= getenv("SCRIPT_NAME")
20 "zip_include_packages": ["*"],
21 "zip_exclude_packages": ["PyQt5"],
22 "replace_paths": [["*","@executable_path/"]],
27 "iconfile": "./resources/ico/carla%s.icns" % ("-control" if SCRIPT_NAME
== "Carla-Control" else "")
30 if SCRIPT_NAME
in ("Carla", "Carla-Control"):
31 boptions
["custom_info_plist"] = "./data/macos/%s.plist" % SCRIPT_NAME
35 description
= "Carla Plugin Host",
36 options
= {"build_exe": options
, "bdist_mac": boptions
},
37 executables
= [Executable("./source/frontend/%s" % SCRIPT_NAME
)])
39 # ------------------------------------------------------------------------------------------------------------