forked from jdkandersson/OpenAlchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
77 lines (74 loc) · 2.15 KB
/
setup.py
File metadata and controls
77 lines (74 loc) · 2.15 KB
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
70
71
72
73
74
75
76
77
"""Setup package."""
import setuptools
with open("README.md", "r") as fh:
LONG_DESCRIPTION = fh.read()
setuptools.setup(
name="OpenAlchemy",
version="1.3.0",
author="David Andersson",
author_email="anderssonpublic@gmail.com",
description="Maps an OpenAPI schema to SQLAlchemy models.",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/jdkandersson/OpenAlchemy",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Topic :: Database",
"Topic :: Database :: Front-Ends",
"Topic :: Internet",
"Typing :: Typed",
],
python_requires=">=3.6",
install_requires=[
"SQLAlchemy>=1.0",
"jsonschema>=3",
"Jinja2>=2",
"black",
"sqlalchemy-stubs>=0.3",
],
include_package_data=True,
extras_require={
"yaml": ["PyYAML"],
"dev": [
"tox",
"tox-pyenv",
"pylint",
"mypy",
"pydocstyle",
"black",
"pre-commit",
"isort<5.0.0",
"PyYAML",
"Sphinx",
"doc8",
"connexion[swagger-ui]",
"Flask-SQLAlchemy",
"alembic",
],
"test": [
"pytest",
"pytest-cov",
"pytest-flake8",
"pytest-flask",
"pytest-flask-sqlalchemy",
"pytest-randomly",
"pytest-bandit",
"PyYAML",
"connexion[swagger-ui]",
"typeguard",
],
":python_version<'3.7'": [
"dataclasses>=0.7",
"backports-datetime-fromisoformat>=1.0.0",
],
":python_version<'3.8'": ["typing_extensions>=3.7.4"],
},
)