# -*- coding: utf-8 -*-
import os

from setuptools import setup

VERSION = '1.2.0'


def readme(*paths):
    with open(os.path.join(*paths), 'r') as f:
        return f.read()


def requirements(*paths):
    with open(os.path.join(*paths), 'r') as f:
        return list(line.strip() for line in f.readlines() if line.strip() != '')


setup(
    name='slacker_log_handler',
    packages=['slacker_log_handler'],
    version=VERSION,
    description='Posts log events to Slack via API',
    long_description=readme('README.rst'),
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
        'Topic :: Communications :: Chat',
        'Topic :: Office/Business :: Groupware',
    ],
    url='https://github.com/mathiasose/slacker_log_handler',
    download_url='https://github.com/mathiasose/slacker_log_handler/tarball/{v}'.format(v=VERSION),
    author='Mathias Ose',
    author_email='mathias.ose@gmail.com',
    keywords=['slack', 'logging'],
    install_requires=requirements('requirements.txt'),
    include_package_data=True,
    zip_safe=False
)

# -*- coding: utf-8 -*-
import os

from setuptools import setup

VERSION = '1.3.0'


def readme(*paths):
    with open(os.path.join(*paths), 'r') as f:
        return f.read()


def requirements(*paths):
    with open(os.path.join(*paths), 'r') as f:
        return list(line.strip() for line in f.readlines() if line.strip() != '')


setup(
    name='slacker_log_handler',
    packages=['slacker_log_handler'],
    version=VERSION,
    description='Posts log events to Slack via API',
    long_description=readme('README.rst'),
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
        'Topic :: Communications :: Chat',
        'Topic :: Office/Business :: Groupware',
    ],
    url='https://github.com/mathiasose/slacker_log_handler',
    download_url='https://github.com/mathiasose/slacker_log_handler/tarball/{v}'.format(v=VERSION),
    author='Mathias Ose',
    author_email='mathias.ose@gmail.com',
    keywords=['slack', 'logging'],
    install_requires=requirements('requirements.txt'),
    include_package_data=True,
    zip_safe=False
)

Bump version to 1.3.0