#!/usr/bin/env python
from setuptools import find_packages, setup

long_description = ""

with open("README.rst") as f:
    long_description = f.read()


def extras_require():
    return {
        "test": [
            "tox>=2.0",
            "pytest>=2.8.5",
            "pytest-cov>=1.8.1",
            "pytest-pep8>=1.0.6",
        ],
    }


def install_requires():
    return [
        "six",
        'typing>=3.5.2;python_version<"3.5"',
        'funcsigs>=1.0.2;python_version<"3"',
    ]


setup(
    name="python-interface",
    version="1.5.5",
    description="Pythonic Interface definitions",
    author="Scott Sanderson",
    author_email="scott.b.sanderson90@gmail.com",
    packages=find_packages(),
    long_description=long_description,
    license="Apache 2.0",
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "License :: OSI Approved :: Apache Software License",
        "Natural Language :: English",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Topic :: Software Development :: Pre-processors",
    ],
    url="https://github.com/ssanderson/interface",
    install_requires=install_requires(),
    extras_require=extras_require(),
)
