from os import path
import codecs

from setuptools import setup, find_packages

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

with codecs.open(path.join(here, 'requirements.txt'),
                 encoding='utf-8') as reqs:
    requirements = reqs.read()

setup(
    name='calm',
    version='0.1.3',

    description='It is always Calm before a Tornado!',
    long_description="""
    Calm is an extension to Tornado Framework for building  RESTful APIs.

    Navigate to http://calm.n9co.de for more information.
    """,

    url='http://calm.n9co.de',

    author='Bagrat Aznauryan',
    author_email='bagrat@aznauryan.org',

    license='MIT',

    classifiers=[
        'Development Status :: 3 - Alpha',

        'Intended Audience :: Developers',
        'Intended Audience :: Information Technology',

        'License :: OSI Approved :: MIT License',

        'Programming Language :: Python :: 3.5',

        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Internet :: WWW/HTTP :: HTTP Servers',
        'Topic :: Software Development',
        'Topic :: Software Development :: Libraries',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
    ],

    keywords='tornado rest restful api framework',

    packages=find_packages(exclude=['docs', 'tests']),

    install_requires=requirements,

    package_data={
        'calm': ['requirements.txt']
    }
)
