from distutils.core import setup
import py2exe

includes = []
excludes = []
packages = []
mydata_files = [("", ["title.ico"])]

setup(
    options={
        "py2exe": {
            "compressed": 2,
            "optimize": 2,
            "includes": includes,
            "excludes": excludes,
            "packages": packages,
            "bundle_files": 1,
            "dist_dir": "dist",
            "xref": False,
            "skip_archive": False,
            "ascii": False,
            "custom_boot_script": "",
        }
    },
    console=[{
        "script": "app.py",
        "icon_resources": [(1, "title.ico")],
        "dest_base": "nrfx_toolbox",
    }],
    name="Gavin",
    version="1.0.2",
    data_files=mydata_files,
    zipfile=None,
)
