import sys

from setuptools import find_packages, setup

requirements = [
    'flask>=2.3.3',
    'injector==0.12.1',
    'python3_gearman',
    'requests>=2.22',
    'SQLAlchemy>=1.3',
    'typing>=3.7'
]

with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()

setup(name='zsl',
      version='1.0.0',
      description='zsl application framework for web based services',
      long_description=long_description,
      long_description_content_type='text/markdown',
      author='Atteq s.r.o.',
      author_email='open.source@atteq.com',
      url='https://github.com/AtteqCom/zsl',
      license='MIT',
      package_dir={'': 'src'},
      install_requires=requirements,
      extras_require={
          'cli': ['bpython', 'click>=7.0'],
          'redis': ['redis>=3.2.0'],
          'celery': ['zsl_client', 'celery>=5.3.4'],
          'gearman': ['zsl_client', 'python3_gearman'],
          'alembic': ['alembic'],
          'sentry': ['sentry-sdk[flask]'],
          'documentation': ['sphinx', 'recommonmark', 'sphinx_rtd_theme',
                            'alembic']
      },
      classifiers=[
          'Development Status :: 3 - Alpha',
          "Programming Language :: Python :: 3.8",
          "Programming Language :: Python :: 3.9",
          "Programming Language :: Python :: 3.10",
          "Programming Language :: Python :: 3.11",
          'Operating System :: OS Independent',
          'Topic :: Software Development :: Libraries :: Application Frameworks'
      ],
      packages=find_packages('src'))
