import os
import sys
from pathlib import Path
from setuptools import setup, find_packages

if sys.version_info.major != 3:
    raise RuntimeError("This package requires Python 3+")

version = '0.0.4'
pkg_name = 'lazyapi'
gitrepo = 'trisongz/lazyapi'
root = Path(__file__).parent

requirements = [
    'httpx',
    'lazycls',
    'pytz',
    'dateparser',
    'fastapi',
    'starlette',
    'six',
    'diskcache',
    'msgpack',
    'pylogz'
]

args = {
    'packages': find_packages(include = ['lazyapi', 'lazyapi.*']),
    'install_requires': requirements,
    'long_description': root.joinpath('README.md').read_text(encoding='utf-8'),
    'entry_points': {}
}

setup(
    name=pkg_name,
    version=version,
    url=f'https://github.com/{gitrepo}',
    license='MIT Style',
    description='Async and Sync wrapper client around httpx',
    author='<NAME>',
    author_email='<EMAIL>',
    long_description_content_type="text/markdown",
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3.7',
        'Topic :: Software Development :: Libraries',
    ],
    **args
)
import os
import sys
from pathlib import Path
from setuptools import setup, find_packages

if sys.version_info.major != 3:
    raise RuntimeError("This package requires Python 3+")

version = '0.0.4'
pkg_name = 'lazyapi'
gitrepo = 'trisongz/lazyapi'
root = Path(__file__).parent

requirements = [
    'httpx',
    'lazycls',
    'pytz',
    'dateparser',
    'fastapi',
    'starlette',
    'six',
    'diskcache',
    'msgpack',
    'pylogz'
]

args = {
    'packages': find_packages(include = ['lazyapi', 'lazyapi.*']),
    'install_requires': requirements,
    'long_description': root.joinpath('README.md').read_text(encoding='utf-8'),
    'entry_points': {}
}

setup(
    name=pkg_name,
    version=version,
    url=f'https://github.com/{gitrepo}',
    license='MIT Style',
    description='Async and Sync wrapper client around httpx',
    author='<NAME>',
    author_email='<EMAIL>',
    long_description_content_type="text/markdown",
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3.7',
        'Topic :: Software Development :: Libraries',
    ],
    **args
)