from setuptools import setup, find_packages
import os

# Read README if exists
long_description = "VOSHA Framework - A simple Python web framework for building web applications"
if os.path.exists("README.md"):
    with open("README.md", "r", encoding="utf-8") as f:
        long_description = f.read()

setup(
    name="vosha",
    version="1.2",
    author="VOSHA Framework Team",
    description="A simple Python web framework for building web applications",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/vosha/vosha-framework",
    packages=find_packages(),
    include_package_data=True,
    package_data={
        'vosha_framework': [
            'bahasa/*.json',
            'logo.png',
        ],
    },
    install_requires=[
        "fastapi>=0.100.0",
        "uvicorn>=0.23.0",
        "jinja2>=3.1.0",
        "requests>=2.31.0",
    ],
    entry_points={
        'console_scripts': [
            'vosha=vosha_framework.cli:main',
        ],
    },
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
    ],
    python_requires=">=3.7",
)
