forked from marshmallow-code/marshmallow-oneofschema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (47 loc) · 1.46 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
45
46
47
48
49
50
51
52
from setuptools import setup
EXTRAS_REQUIRE = {
"tests": ["pytest", "mock"],
"lint": ["flake8==3.8.4", "flake8-bugbear==20.1.4", "pre-commit~=2.7"],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["lint"] + ["tox"]
def read(fname):
with open(fname) as fp:
content = fp.read()
return content
setup(
name="marshmallow-oneofschema",
version="2.1.0",
description="marshmallow multiplexing schema",
long_description=read("README.rst"),
author="Maxim Kulkin",
author_email="[email protected]",
maintainer="Steven Loria",
maintainer_email="[email protected]",
url="https://github.com/marshmallow-code/marshmallow-oneofschema",
packages=["marshmallow_oneofschema"],
license="MIT",
keywords=[
"serialization",
"deserialization",
"json",
"marshal",
"marshalling",
"schema",
"validation",
"multiplexing",
"demultiplexing",
"polymorphic",
],
python_requires=">=3.6",
install_requires=["marshmallow>=3.0.0,<4.0.0"],
extras_require=EXTRAS_REQUIRE,
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)