from setuptools import setup, find_packages

with open('README.md', 'r', encoding='utf8') as f:
    readme = f.read()

setup(
    name='dataclasses-json',
    version='0.5.8',
    packages=find_packages(exclude=('tests*',)),
    package_data={"dataclasses_json": ["py.typed"]},
    author='lidatong',
    author_email='charles.dt.li@gmail.com',
    description='Easily serialize dataclasses to and from JSON',
    long_description=readme,
    long_description_content_type='text/markdown',
    url='https://github.com/lidatong/dataclasses-json',
    license='MIT',
    keywords='dataclasses json',
    install_requires=[
        'dataclasses;python_version=="3.6"',
        'marshmallow>=3.3.0,<4.0.0',
        'marshmallow-enum>=1.5.1,<2.0.0',
        'typing-inspect>=0.4.0'
    ],
    python_requires='>=3.6',
    extras_require={
        'dev': [
            'pytest>=7.2.0',
            'ipython',
            'mypy>=0.710',
            'hypothesis',
            'portray',
            'flake8',
            'types-dataclasses;python_version=="3.6"',
            'simplejson'
        ]
    },
    include_package_data=True,
    scripts=['publish.py']
)

