__author__ = "Hexiro"
from setuptools import setup, find_packages

with open("README.md", encoding="utf-8") as readme_file:
    readme = readme_file.read()

with open("requirements.txt", encoding="utf-8") as req_file:
    requirements = [line for line in req_file.read().splitlines() if line and not line.startswith("#")]

setup(
    name="imperial.py",
    version="2.0.1",
    description="ImperialBin is a hastebin alternative built with UI and user experience in mind.",
    long_description=readme,
    long_description_content_type="text/markdown",
    author="Hexiro",
    author_email="realhexiro@gmail.com",
    url="https://github.com/imperialbin/imperial-py",
    packages=["imperial"] + [("imperial." + x) for x in find_packages(where="imperial")],
    python_requires=">=3.6",
    install_requires=requirements,
    license="MPL2",
    classifiers=[
        "Environment :: Console",
        "Intended Audience :: Developers",
        "Natural Language :: English",
        "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
        "Programming Language :: Python :: 3 :: Only",
        "Programming Language :: Python",
        "Topic :: Software Development",
    ],
    keywords=[
        "py",
        "py3",
        "python",
        "python3",
        "imperialbin",
        "hastebin",
        "pastebin"
    ],
)
