<reponame>cariad/wev-awsmfa
from pathlib import Path

from setuptools import setup

from wev_awsmfa.version import get_version

readme_path = Path(__file__).parent.joinpath("README.md")

with open(readme_path, encoding="utf-8") as f:
    long_description = f.read()

classifiers = [
    "License :: OSI Approved :: MIT License",
    "Natural Language :: English",
    "Operating System :: OS Independent",
    "Programming Language :: Python :: 3 :: Only",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
]

version = get_version()

if "a" in version:
    classifiers.append("Development Status :: 3 - Alpha")
elif "b" in version:
    classifiers.append("Development Status :: 4 - Beta")
else:
    classifiers.append("Development Status :: 5 - Production/Stable")

classifiers.sort()

setup(
    author="<NAME>",
    author_email="<EMAIL>",
    classifiers=classifiers,
    description='"wev" plugin to support Amazon Web Services multi-factor authentication',  # noqa: E501
    entry_points={
        "wev.plugins": "wev-awsmfa = wev_awsmfa",
    },
    include_package_data=True,
    install_requires=[
        "boto3==1.*",
    ],
    license="MIT License",
    long_description=long_description,
    long_description_content_type="text/markdown",
    name="wev-awsmfa",
    packages=["wev_awsmfa"],
    python_requires=">=3.8",
    url="https://github.com/cariad/wev-awsmfa",
    version=version,
)

from pathlib import Path

from setuptools import setup

from wev_awsmfa.version import get_version

readme_path = Path(__file__).parent.joinpath("README.md")

with open(readme_path, encoding="utf-8") as f:
    long_description = f.read()

classifiers = [
    "License :: OSI Approved :: MIT License",
    "Natural Language :: English",
    "Operating System :: OS Independent",
    "Programming Language :: Python :: 3 :: Only",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
]

version = get_version()

if "a" in version:
    classifiers.append("Development Status :: 3 - Alpha")
elif "b" in version:
    classifiers.append("Development Status :: 4 - Beta")
else:
    classifiers.append("Development Status :: 5 - Production/Stable")

classifiers.sort()

setup(
    author="<NAME>",
    author_email="<EMAIL>",
    classifiers=classifiers,
    description='"wev" plugin to support Amazon Web Services multi-factor authentication',  # noqa: E501
    entry_points={
        "wev.plugins": "wev-awsmfa = wev_awsmfa",
    },
    include_package_data=True,
    install_requires=[
        "boto3==1.*",
    ],
    license="MIT License",
    long_description=long_description,
    long_description_content_type="text/markdown",
    name="wev-awsmfa",
    packages=["wev_awsmfa"],
    python_requires=">=3.8",
    url="https://github.com/cariad/wev-awsmfa",
    version=version,
)
# noqa: E501