from setuptools import setup, find_packages
import unittest


def test_suite():
    loader = unittest.TestLoader()
    suite = loader.discover('tests', pattern='test_*.py')
    return suite


setup(name='Flask-Sleuth',
      version='0.0.2',
      description='Spring Cloud Sleuth logging implementation for Python 2/3.',
      author='David Carboni',
      author_email='david@carboni.io',
      classifiers=[
          'Development Status :: 3 - Alpha',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3.2',
          'Topic :: System :: Logging',
          'Topic :: Internet :: Log Analysis',
          'Intended Audience :: Developers',
          'Framework :: Flask',
          'License :: OSI Approved :: MIT License',
      ],
      keywords=['logging', 'b3', 'distributed', 'tracing', 'spring', 'boot', 'cloud', 'sleuth'],
      url='https://github.com/davidcarboni/flask_sleuth',
      license='MIT',
      packages=find_packages(),
      install_requires=[
          'flask',
      ],
      test_suite='setup.test_suite',
      include_package_data=True,
      zip_safe=True,
      )
