#!/usr/bin/env python

from setuptools import setup

from codecs import open
from os import path
from sagepaypi import __version__


install_requires = [
    'Django>=2',
    'pycountry>=18.12.8',
    'python-dateutil>=2.6',
    'requests>=2',
]

tests_require = [
    'mock',
    'pyyaml',
]

documentation_extras = [
    'sphinxcontrib-spelling>=2.3.0',
    'Sphinx>=1.5.2',
    'sphinx-autobuild>=0.6.0',
    'karma_sphinx_theme>=0.0.6',
]

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

with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
    long_description = f.read()

setup(
    name='django-sagepaypi',
    version=__version__,
    description='Django SagePayPI Payment Gateway',
    long_description=long_description,
    author='Stuart George',
    author_email='stuart@accentdesign.co.uk',
    url='https://github.com/AccentDesign/django-sagepaypi/',
    download_url='https://pypi.python.org/pypi/django-sagepaypi',
    license='MIT',
    packages=[
        'sagepaypi'
    ],
    install_requires=install_requires,
    tests_require=tests_require,
    extras_require={
        'docs': documentation_extras,
        'tests': tests_require
    },
    include_package_data=True,
    keywords=['django', 'sagepay', 'pi', 'payment', 'accent', 'design'],
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Framework :: Django',
        'Framework :: Django :: 2.0',
        'Topic :: Internet :: WWW/HTTP :: Site Management',
    ],
)
