-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathsetup.py
69 lines (65 loc) · 2.34 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/env python
from setuptools import setup, find_packages
# packages required for local development and testing
development = [
"black==23.7.0",
"bumpversion==0.6.0",
"click>=8.1.3,<9.0.0",
"flake8==6.0.0",
"gitchangelog>=3.0.4,<4.0.0",
"jsonschema==4.18.4",
"marshmallow-objects~=2.3",
"mypy==1.8.0",
"parametrize==0.1.1",
"pre-commit>=1.14.4",
"pytest~=7.4",
"pytest-order~=1.0",
"Sphinx>=6.0.0,<7.0.0",
"sphinx_rtd_theme==1.2.2",
"types-jsonschema==4.17.0.10",
"types-setuptools==68.0.0.3",
"flask[async]>=2,<4",
]
install_requires = [
"Flask>=1.0,<4",
"marshmallow>=3.0,<4",
"typing-extensions>=4.8,<5;python_version<'3.10'",
"Werkzeug>=2.2,<4",
]
if __name__ == "__main__":
setup(
name="flask-rebar",
version="3.3.2",
author="Barak Alon",
author_email="[email protected]",
description="Flask-Rebar combines flask, marshmallow, and swagger for robust REST services.",
long_description=open("README.rst").read(),
keywords=["flask", "rest", "marshmallow", "openapi", "swagger"],
license="MIT",
packages=find_packages(exclude=("test*", "examples")),
package_data={"flask_rebar": ["py.typed"]},
include_package_data=True,
extras_require={
"dev": development,
"enum": ["marshmallow-enum~=1.5"],
"async": ["flask[async]>=2,<4"],
},
install_requires=install_requires,
url="https://github.com/plangrid/flask-rebar",
classifiers=[
"Environment :: Web Environment",
"Framework :: Flask",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)