forked from lidatong/dataclasses-json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (38 loc) · 1.13 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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.7',
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>=6.2.3',
'ipython',
'mypy>=0.710',
'hypothesis',
'portray',
'flake8',
'types-dataclasses;python_version=="3.6"',
'simplejson'
]
},
include_package_data=True,
scripts=['publish.py']
)