#!/usr/bin/env python3 # -*- coding: utf-8 -*- # ------------------------------------------------------------------------------------------------------------ # Imports (cx_Freeze) from cx_Freeze import setup, Executable from os import getenv # ------------------------------------------------------------------------------------------------------------ # Imports (Custom Stuff) from carla_host import VERSION # ------------------------------------------------------------------------------------------------------------ options = { "zip_include_packages": ["*"], "zip_exclude_packages": ["PyQt5"], "replace_paths": [["*","@executable_path/"]], "optimize": True, } boptions = { "iconfile": "./resources/ico/carla.icns" } setup(name = "Carla", version = VERSION, description = "Carla Plugin Host", options = {"build_exe": options, "bdist_mac": boptions}, executables = [Executable("./source/frontend/%s.pyw" % getenv("SCRIPT_NAME"))]) # ------------------------------------------------------------------------------------------------------------