#!/usr/bin/env python
import os

from setuptools import setup, find_packages

__version__ = '1.12.1'
__repo__ = 'https://github.com/ateliedocodigo/py-queue-manager'


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()


setup(
    name='PyQueueManager',
    version=__version__,
    description='Library to deal with RabbitMQ and Google PubSub',
    long_description=read('README.rst'),
    author='Luis Fernando Gomes',
    author_email='luiscoms@ateliedocodigo.com.br',
    url=__repo__,
    download_url='{}/tarball/{}'.format(__repo__, __version__),
    packages=find_packages(exclude=['tests', 'tests.*']),
    zip_safe=False,
    include_package_data=True,
    license='MIT',
    platforms='any',
    # package_dir={"queue_manager":"queue_manager"},
    extras_require={
        'rabbitmq': ['pika<2'],
        'pubsub': ['google-cloud-pubsub<2'],
    },
    install_requires=[],
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
    ]
)
