<reponame>jmaneyrol69/yogit
"""
Command line utility for GitHub daily work.
"""
import setuptools
import yogit

DEPENDENCIES = ["click", "halo", "packaging", "PyYAML>=5.1", "pyperclip", "requests", "requests-toolbelt", "tabulate"]


def get_public_description():
    with open("README.md", encoding="utf-8") as md_file:
        package_description_content = md_file.read()
    with open("CHANGELOG.md", encoding="utf-8") as md_file:
        changelog_content = md_file.read()
    return package_description_content + "\n\n" + changelog_content


setuptools.setup(
    name=yogit.__application__,
    version=yogit.__version__,
    author="<NAME>",
    author_email="<EMAIL>",
    license="MIT",
    description="Command line utility for GitHub daily work.",
    long_description=get_public_description(),
    long_description_content_type="text/markdown",
    keywords="git github utility branch pull requests",
    url="https://github.com/hasboeuf/yogit",
    packages=setuptools.find_packages(exclude=["*.tests", "*.tests.*", "tests"]),
    classifiers=["Programming Language :: Python :: 3", "Operating System :: OS Independent"],
    zip_safe=True,
    install_requires=DEPENDENCIES,
    entry_points={"console_scripts": ["yogit=yogit.yogit.cli:main"]},
)
