#!/usr/bin/env python3
"""CapraISIS package setup."""

from setuptools import setup, find_packages
from pathlib import Path

readme = Path(__file__).parent / "README.md"
long_description = readme.read_text(encoding="utf-8") if readme.exists() else ""

setup(
    name="capraisis",
    version="0.1.0",
    author="Caprazli",
    author_email="caprazli@protonmail.com",
    description="Modern CDS/ISIS implementation using SQLite FTS5",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/capraCoder/capraisis",
    packages=find_packages(),
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Intended Audience :: Science/Research",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
        "Programming Language :: Python :: 3.12",
        "Programming Language :: Python :: 3.13",
        "Topic :: Database",
        "Topic :: Text Processing :: Indexing",
        "Topic :: Scientific/Engineering :: Information Analysis",
    ],
    python_requires=">=3.9",
    install_requires=[],  # No dependencies beyond stdlib
    entry_points={
        "console_scripts": [
            "capraisis=capraisis.cli:main",
        ],
    },
    keywords=[
        "cds-isis",
        "inverted-index",
        "full-text-search",
        "fts5",
        "sqlite",
        "bibliography",
        "datacite",
        "doi",
    ],
)
