from setuptools import setup, find_packages

with open('README.md', 'r') as fh:
    long_description = fh.read()

setup(
    name='opentracing_instrumentation',
    version='3.1.0',
    author='Yuri Shkuro',
    author_email='ys@uber.com',
    description='Tracing Instrumentation using OpenTracing API '
                '(http://opentracing.io)',
    long_description=long_description,
    long_description_content_type='text/markdown',
    license='MIT',
    url='https://github.com/uber-common/opentracing-python-instrumentation',
    keywords=['opentracing'],
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: Implementation :: PyPy',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
    packages=find_packages(exclude=['tests', 'tests.*']),
    include_package_data=True,
    zip_safe=False,
    platforms='any',
    install_requires=[
        'future',
        'wrapt',
        'tornado>=4.1,<6',
        'contextlib2',
        'opentracing>=2,<3',
        'six',
    ],
    extras_require={
        'tests': [
            'boto3',
            'botocore',
            'celery',
            'coveralls',
            'doubles',
            'flake8',
            'flake8-quotes',
            'mock',
            'moto',
            'psycopg2-binary',
            'sqlalchemy>=1.2.0',

            # pytest-tornado isn't compatible with pytest>=4.0.0,
            # see https://github.com/eugeniy/pytest-tornado/pull/38
            'pytest>=3.0.0,<4.0.0',

            'pytest-cov',
            'pytest-localserver',
            'pytest-mock',
            'pytest-tornado',
            'basictracer>=3,<4',
            'redis',
            'Sphinx',
            'sphinx_rtd_theme',
        ]
    },
)

@@ -1444,16 +1444,156 @@
 sts': %5B%0A
+            # coveralls should be required before boto3%0A            # to avoid dependency conflict for Python 2.7%0A            'coveralls',%0A%0A
         
@@ -1601,24 +1601,24 @@
    'boto3',%0A
-
             
@@ -1655,33 +1655,8 @@
 y',%0A
-            'coveralls',%0A
     
@@ -1825,25 +1825,24 @@
 my%3E=1.2.0',%0A
-%0A
             
@@ -1845,167 +1845,18 @@
     
-# pytest-tornado isn't compatible with pytest%3E=4.0.0,%0A            # see https://github.com/eugeniy/pytest-tornado/pull/38%0A            'pytest%3E=3.0.0,%3C4.0.0
+'pytest
 ',%0A
-%0A
     

Fix coveralls/boto3 dependency conflict (#93)