"""The setup module for django_saml2_auth.
See:
https://github.com/MPickfield/django-saml2-no-jwt
"""

from codecs import open
from setuptools import setup, find_packages
from os import path

here = path.abspath(path.dirname(__file__))

# Get the long description from the README file
with open(path.join(here, "README.md"), encoding="utf-8") as f:
    long_description = f.read()

# Extract requirements from requirements.txt
requirements = [r.rstrip() for r in open("requirements.txt").readlines()]

setup(
    name="django_saml2_no_jwt",
    version="0.1.0",
    description="Django SAML2 Authentication Made Easy.",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/MPickfield/django-saml2-no-jwt",
    author="Fang Li",
    author_email="surivlee+djsaml2auth@gmail.com",
    maintainer="Mike Pickfield",
    maintainer_email="m.b.pickfield@gmail.com",
    license="Apache 2.0",
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "License :: OSI Approved :: Apache Software License",
        "Framework :: Django :: 2.2",
        "Framework :: Django :: 3.2",
        "Framework :: Django :: 4.0",
        "Framework :: Django :: 4.1",
        "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",
    ],
    keywords=["django", "saml", "saml2" "sso", "authentication", "okta", "standard"],
    packages=find_packages(),
    install_requires=requirements,
    include_package_data=True,
)
