from setuptools import setup, find_packages


with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()

setup(
    name="NCVO",               # 用户 pip install 时输入的名字 (建议用连字符)
    version="0.2.0",                    # 你的软件版本号
    author="abestapple",                 # 你的名字或 GitHub 昵称
    author_email="zzzwindt@gmail.com", # 你的邮箱
    description="NCVO: A modern, interactive NetCDF data viewer built with Python and CustomTkinter.",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/abestapple/NCVO/tree/main", # 你的 GitHub 仓库地址
    packages=find_packages(),           # 自动发现 modern_ncview 文件夹
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Topic :: Scientific/Engineering :: Atmospheric Science",
    ],
    python_requires=">=3.8",            # 依赖的 Python 版本
    install_requires=[                  # 关键：这里列出别人安装你软件时，需要自动下载的依赖包！
        "customtkinter",
        "netCDF4",
        "numpy",
        "matplotlib",
        "pillow"
    ],
    entry_points={
        "console_scripts": [
            "ncvo=ncvo.main:run", 
        ],
    },
)