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("TARGET_NAME")
20 "zip_include_packages": ["*"],
21 "zip_exclude_packages": ["PyQt5"],
22 "replace_paths": [["*","./lib/"]],
23 "build_exe": "./build-carla",
28 "script": "./bin/resources/{}".format(name
),
35 options
= {"build_exe": options
},
36 executables
= [Executable(**exe_options
)])
38 # ------------------------------------------------------------------------------------------------------------