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

Usage:
    python3 setup_mac.py py2app

    「ロト6 当せん数字予測アプリ」
    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 = [
    "loto6.parquet",
    "LICENSE.TXT",
    "images",
    ["fonts", ["fonts/VL-PGothic-Regular.ttf"]],
    ["my_dialogs", ["my_dialogs/images"]],
]
OPTIONS = {
    "iconfile": "images/favicon.ico",
    "plist": {
        "CFBundleName": "ロト6 当せん数字予測アプリ",
        "CFBundleDisplayName": "ロト6 当せん数字予測アプリ",
        "LSHasLocalizedDisplayName": "ロト6 当せん数字予測アプリ",
        "CFBundleVersion": "1.0.2.2",
        "NSHumanReadableCopyright": "Copyright © 2025 toshifumi tsutsui",
    },
}
setup(
    app=APP,
    data_files=DATA_FILES,  # type: ignore
    options={"py2app": OPTIONS},
    setup_requires=["py2app"],
)
