Cleanup
[carla.git] / data / linux / app-plugin.py
blobf928ad97ceabe48a881b1cd4723571fb9642f663
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
4 # ------------------------------------------------------------------------------------------------------------
5 # Imports (cx_Freeze)
7 from cx_Freeze import setup, Executable
9 # ------------------------------------------------------------------------------------------------------------
10 # Imports (Custom Stuff)
12 from carla_host import VERSION
13 from os import getenv
15 # ------------------------------------------------------------------------------------------------------------
17 name = getenv("TARGET_NAME")
19 options = {
20 "zip_include_packages": ["*"],
21 "zip_exclude_packages": ["PyQt5"],
22 "replace_paths": [["*","./lib/"]],
23 "build_exe": "./build-carla",
24 "optimize": True,
27 exe_options = {
28 "script": "./bin/resources/{}".format(name),
29 "targetName": name,
32 setup(name = "Carla",
33 version = VERSION,
34 description = name,
35 options = {"build_exe": options},
36 executables = [Executable(**exe_options)])
38 # ------------------------------------------------------------------------------------------------------------