summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg10
1 files changed, 8 insertions, 2 deletions
diff --git a/setup.cfg b/setup.cfg
index 9cbdbd838..387f422ef 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -38,10 +38,12 @@ python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
package_dir =
=lib
install_requires =
- importlib-metadata;python_version<"3.8"
-
+ importlib-metadata;python_version<"3.8"
+ greenlet
[options.extras_require]
+asyncio =
+ greenlet
mssql = pyodbc
mssql_pymssql = pymssql
mssql_pyodbc = pyodbc
@@ -53,6 +55,9 @@ oracle =
cx_oracle>=7;python_version>="3"
postgresql = psycopg2>=2.7
postgresql_pg8000 = pg8000
+postgresql_asyncpg =
+ asyncpg;python_version>="3"
+ greenlet
postgresql_psycopg2binary = psycopg2-binary
postgresql_psycopg2cffi = psycopg2cffi
pymysql = pymysql
@@ -110,6 +115,7 @@ default = sqlite:///:memory:
sqlite = sqlite:///:memory:
sqlite_file = sqlite:///querytest.db
postgresql = postgresql://scott:tiger@127.0.0.1:5432/test
+asyncpg = postgresql+asyncpg://scott:tiger@127.0.0.1:5432/test?async_fallback=true
pg8000 = postgresql+pg8000://scott:tiger@127.0.0.1:5432/test
postgresql_psycopg2cffi = postgresql+psycopg2cffi://scott:tiger@127.0.0.1:5432/test
mysql = mysql://scott:tiger@127.0.0.1:3306/test?charset=utf8mb4