"""
Setup file for SettleUp Calculator library
"""

from setuptools import setup, find_packages
import os

# Read README for long description
readme_path = os.path.join(os.path.dirname(__file__), "README.md")
if os.path.exists(readme_path):
    with open(readme_path, "r", encoding="utf-8") as fh:
        long_description = fh.read()
else:
    long_description = "A custom library for calculating expense splits and settlements"

setup(
    name="settleup-calculator",
    version="1.0.1",
    author="SettleUp Team",
    author_email="team@settleup.com",
    description="A custom library for calculating expense splits and settlements",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/settleup/calculator",
    packages=find_packages(),
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
        "Programming Language :: Python :: 3.12",
    ],
    python_requires=">=3.8",
    install_requires=[],
    keywords="expense calculator split settlement finance",
    project_urls={
        "Bug Reports": "https://github.com/settleup/calculator/issues",
        "Source": "https://github.com/settleup/calculator",
    },
)

