forked from fuhrysteve/marshmallow-jsonschema
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
44 lines (40 loc) · 1.54 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
41
42
43
44
from setuptools import setup, find_packages
def read(fname):
with open(fname) as fp:
return fp.read()
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError, OSError):
long_description = read('README.md')
setup(
name='marshmallow-jsonschema',
version='0.4.0',
description='JSON Schema Draft v4 (http://json-schema.org/) formatting with marshmallow',
long_description=long_description,
author='Stephen Fuhry',
author_email='[email protected]',
url='https://github.com/fuhrysteve/marshmallow-jsonschema',
packages=find_packages(exclude=("test*", )),
package_dir={'marshmallow-jsonschema': 'marshmallow-jsonschema'},
include_package_data=True,
install_requires=['marshmallow>=2.9.0'],
tests_require=['pytest>=2.9.2', 'jsonschema', 'strict-rfc3339', 'coverage>=4.1'],
license=read('LICENSE'),
zip_safe=False,
keywords=('marshmallow-jsonschema marshmallow schema serialization '
'jsonschema validation'),
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
test_suite='tests'
)