from setuptools import setup, find_packages

setup(
    name="xmldev",
    version="0.1.0",
    description="Validate, repair, and normalize XML against a JSON ground-truth schema.",
    long_description=open("README.md", encoding="utf-8").read(),
    long_description_content_type="text/markdown",
    author="xmldev contributors",
    packages=find_packages(include=["xmldev*"]),
    python_requires=">=3.10",
    install_requires=[
        "lxml>=5.0",
        "click>=8.1",
        "jsonschema>=4.21",
        "rapidfuzz>=3.6",
        "openai>=1.14",
        "prometheus-client>=0.20",
        "python-dateutil>=2.9",
    ],
    extras_require={
        "dev": [
            "pytest>=8.0",
            "pytest-cov>=5.0",
            "pytest-mock>=3.12",
            "ruff>=0.4",
        ],
    },
    entry_points={
        "console_scripts": [
            "xmldev=xmldev.cli:main",
        ],
    },
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Topic :: Software Development :: Libraries",
        "Topic :: Text Processing :: Markup :: XML",
    ],
    keywords="xml, validation, repair, schema, lint",
)
