#!/usr/bin/env python3
"""
WorkBuddy Monitor — Setup & Packaging
======================================
支持 pip install 的安装方式，方便在其他设备部署。
"""
from setuptools import setup, find_packages

setup(
    name="wb-monitor",
    version="1.0.0",
    description="WorkBuddy Token 用量监控面板 + LLM API 调用 MITM 代理",
    author="WorkBuddy",
    packages=find_packages(),
    py_modules=["monitor", "llm_proxy"],
    python_requires=">=3.9",
    install_requires=[
        "flask>=3.0,<4.0",
        "cryptography>=41.0,<48.0",
    ],
    entry_points={
        "console_scripts": [
            "wb-monitor=monitor:main",
        ],
    },
    classifiers=[
        "Programming Language :: Python :: 3",
        "Operating System :: OS Independent",
    ],
)
