forked from s-knibbs/dataclasses-jsonschema
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
37 lines (32 loc) · 1.07 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
from setuptools import setup
requires = [
'python-dateutil',
'jsonschema',
'dataclasses;python_version<"3.7"'
]
def read(f):
return open(f, encoding='utf-8').read()
setup(
name='dataclasses-jsonschema',
description='JSON schema generation from dataclasses',
long_description=read('README.rst'),
packages=['dataclasses_jsonschema'],
package_data={'dataclasses_jsonschema': ["py.typed"]},
author='Simon Knibbs',
author_email='simon.knibbs@gmail.com',
url='https://github.com/s-knibbs/dataclasses-jsonschema',
install_requires=requires,
setup_requires=['pytest-runner', 'setuptools_scm'],
tests_require=['pytest', 'flake8', 'mypy'],
license='MIT',
use_scm_version=True,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries'
]
)