2 # -*- coding: utf-8 -*-
4 # ------------------------------------------------------------------------------------------------------------
7 from cx_Freeze
import setup
, Executable
9 # ------------------------------------------------------------------------------------------------------------
10 # Imports (Custom Stuff)
12 from carla_host
import VERSION
15 # ------------------------------------------------------------------------------------------------------------
17 name
= getenv("SCRIPT_NAME")
20 description
= "Carla Plugin Host"
21 build_exe
= ".\\build\\Carla\\"
22 elif name
== "Carla-Control":
23 description
= "Carla Remote Control"
24 build_exe
= ".\\build\\Carla-Control\\"
27 build_exe
= ".\\build\\{}-resources\\".format(name
)
30 "zip_include_packages": ["*"],
31 "zip_exclude_packages": ["PyQt5"],
32 "replace_paths": [["*",".\\lib\\"]],
33 "build_exe": build_exe
,
38 "script": ".\\source\\frontend\\{}".format(name
),
39 "icon": ".\\resources\\ico\\carla.ico",
40 "copyright": "Copyright (C) 2011-2021 Filipe Coelho",
42 "targetName": "{}.exe".format(name
),
47 description
= description
,
48 options
= {"build_exe": options
},
49 executables
= [Executable(**exe_options
)])
51 # ------------------------------------------------------------------------------------------------------------