forked from python-gino/gino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
86 lines (76 loc) · 2.68 KB
/
pyproject.toml
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
78
79
80
81
82
83
84
85
86
[tool.poetry]
name = "gino"
version = "1.1.0-beta.2"
description = "GINO Is Not ORM - a Python asyncio ORM on SQLAlchemy core."
license = "BSD-3-Clause"
authors = ["Fantix King <[email protected]>"]
maintainers = ["Tony Wang <[email protected]>", "Fantix King <[email protected]>"]
readme = "README.rst"
homepage = "https://python-gino.org"
repository = "https://github.com/python-gino/gino"
documentation = "https://python-gino.org/docs/"
keywords = ["orm", "asyncio", "sqlalchemy", "asyncpg", "python3"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
[tool.poetry.dependencies]
python = "^3.5"
SQLAlchemy = ">=1.3,<1.4"
# drivers
asyncpg = { version = ">=0.18,<1.0", optional = true }
aiomysql = { version = "^0.0.21", optional = true }
# compatibility
contextvars = { version = "^2.4", python = "<3.7" }
importlib_metadata = { version = "^2.0.0", python = "<3.8" }
# extensions
gino-starlette = { version = "^0.1.1", optional = true, python = "^3.6" }
gino-aiohttp = {version = "^0.2.0", optional = true, python = "^3.6"}
gino-tornado = { version = "^0.1.0", optional = true, python = "^3.5.2" }
gino-sanic = { version = "^0.1.0", optional = true, python = "^3.6" }
gino-quart = { version = "^0.1.0", optional = true, python = "^3.7" }
[tool.poetry.extras]
postgresql = ["asyncpg"]
postgres = ["asyncpg"]
pg = ["asyncpg"]
asyncpg = ["asyncpg"]
mysql = ["aiomysql"]
aiomysql = ["aiomysql"]
starlette = ["gino-starlette"]
aiohttp = ["gino-aiohttp"]
tornado = ["gino-tornado"]
sanic = ["gino-sanic"]
quart = ["gino-quart"]
[tool.poetry.dev-dependencies]
psycopg2-binary = "^2.8.5"
async_generator = "^1.10"
click = "^7.1"
# tests
pytest = "^5.4.1"
pytest-asyncio = "^0.10.0"
pytest-mock = "^3.0.0"
pytest-cov = "^2.8.1"
black = { version = "^20.8b1", python = ">=3.6" }
mypy = "^0.790"
# docs
sphinx = "^3.0.3"
sphinx-rtd-theme = "^0.4.3"
sphinxcontrib-apidoc = "^0.3.0"
sphinx-autobuild = "^0.7.1"
sphinx-intl = {extras = ["transifex"], version = "^2.0.1"}
[tool.poetry.plugins."sqlalchemy.dialects"]
"postgresql.asyncpg" = "gino.dialects.asyncpg:AsyncpgDialect"
"asyncpg" = "gino.dialects.asyncpg:AsyncpgDialect"
"mysql.aiomysql" = "gino.dialects.aiomysql:AiomysqlDialect"
"aiomysql" = "gino.dialects.aiomysql:AiomysqlDialect"
[build-system]
requires = ["poetry>=1.0"]
build-backend = "poetry.masonry.api"