from setuptools import find_packages, setup


__version__ = "1.0.4"


def get_long_description():
    return open("README.md", "r", encoding="utf8").read()


setup(
    name="djantic2",
    version=__version__,
    packages=find_packages(),
    license="MIT",
    url="https://github.com/jonathan-s/djantic2/",
    description="Pydantic model support for Django ORM",
    long_description=get_long_description(),
    python_requires=">=3.8",
    package_data={"djantic": ["py.typed"]},
    long_description_content_type="text/markdown",
    author="Jonathan Sundqvist",
    author_email="git@co.argpar.se",
    classifiers=[
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Framework :: Django",
        "Framework :: Django :: 3.2",
        "Framework :: Django :: 4.0",
        "Framework :: Django :: 4.2",
        "Framework :: Django :: 5.0",
        "Programming Language :: Python",
        "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",
    ],
)
