"""
This is a setup_mac.py script generated by py2applet

Usage:
    python3 setup_mac.py py2app

    「ちょこっと時間計算」
    Copyright (c) 2025 toshifumi tsutsui
    Released under the MIT license
    https://wpandora8.net/the_mit_license.html
"""

from setuptools import setup

APP = ["main.py"]
DATA_FILES = [
    "LICENSE.TXT",
    "images",
    ["fonts", ["fonts/TakaoPGothic.ttf"]],
]
OPTIONS = {
    "iconfile": "images/favicon.ico",
    "plist": {
        "CFBundleName": "ちょこっと時間計算",
        "CFBundleDisplayName": "ちょこっと時間計算",
        "LSHasLocalizedDisplayName": "ちょこっと時間計算",
        "CFBundleVersion": "1.0.0.0",
        "NSHumanReadableCopyright": "Copyright (c) 2025 toshifumi tsutsui",
    },
}
setup(
    app=APP,
    data_files=DATA_FILES,  # type: ignore
    options={"py2app": OPTIONS},
    setup_requires=["py2app"],
)
