xref: /sqlalchemy/setup.cfg (revision 502be87a)
1[metadata]
2name = SQLAlchemy
3# version comes from setup.py; setuptools
4# can't read the "attr:" here without importing
5# until version 47.0.0 which is too recent
6
7description = Database Abstraction Library
8long_description = file: README.rst
9long_description_content_type = text/x-rst
10url = http://www.sqlalchemy.org
11author = Mike Bayer
12author_email = mike_mp@zzzcomputing.com
13license = MIT
14license_file = LICENSE
15classifiers =
16    Development Status :: 5 - Production/Stable
17    Intended Audience :: Developers
18    License :: OSI Approved :: MIT License
19    Operating System :: OS Independent
20    Programming Language :: Python
21    Programming Language :: Python :: 2
22    Programming Language :: Python :: 2.7
23    Programming Language :: Python :: 3
24    Programming Language :: Python :: 3.6
25    Programming Language :: Python :: 3.7
26    Programming Language :: Python :: 3.8
27    Programming Language :: Python :: 3.9
28    Programming Language :: Python :: Implementation :: CPython
29    Programming Language :: Python :: Implementation :: PyPy
30    Topic :: Database :: Front-Ends
31project_urls =
32    Documentation=https://docs.sqlalchemy.org
33    Issue Tracker=https://github.com/sqlalchemy/sqlalchemy/
34
35[options]
36packages = find:
37python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*
38package_dir =
39    =lib
40
41install_requires =
42    importlib-metadata;python_version<"3.8"
43    greenlet != 0.4.17;python_version>="3"
44
45[options.extras_require]
46asyncio =
47    greenlet!=0.4.17;python_version>="3"
48mypy =
49    mypy >= 0.800;python_version>="3"
50    sqlalchemy2-stubs
51mssql = pyodbc
52mssql_pymssql = pymssql
53mssql_pyodbc = pyodbc
54mysql =
55    mysqlclient>=1.4.0,<2;python_version<"3"
56    mysqlclient>=1.4.0;python_version>="3"
57mysql_connector =
58    mysqlconnector
59mariadb_connector =
60    mariadb>=1.0.1;python_version>="3"
61oracle =
62    cx_oracle>=7,<8;python_version<"3"
63    cx_oracle>=7;python_version>="3"
64postgresql = psycopg2>=2.7
65postgresql_pg8000 = pg8000>=1.16.6
66postgresql_asyncpg =
67    %(asyncio)s
68    asyncpg;python_version>="3"
69postgresql_psycopg2binary = psycopg2-binary
70postgresql_psycopg2cffi = psycopg2cffi
71pymysql =
72    pymysql;python_version>="3"
73    pymysql<1;python_version<"3"
74aiomysql =
75    %(asyncio)s
76    aiomysql;python_version>="3"
77aiosqlite =
78    %(asyncio)s
79    aiosqlite;python_version>="3"
80
81[egg_info]
82tag_build = dev
83
84[options.packages.find]
85where = lib
86
87[tool:pytest]
88addopts = --tb native -v -r sfxX --maxfail=25 -p no:warnings -p no:logging
89python_files = test/*test_*.py
90
91[upload]
92sign = 1
93identity = C4DAFEE1
94
95[flake8]
96show-source = false
97enable-extensions = G
98
99# E203 is due to https://github.com/PyCQA/pycodestyle/issues/373
100ignore =
101    A003,
102    D,
103    E203,E305,E711,E712,E721,E722,E741,
104    N801,N802,N806,
105    RST304,RST303,RST299,RST399,
106    W503,W504
107exclude = .venv,.git,.tox,dist,doc,*egg,build
108import-order-style = google
109application-import-names = sqlalchemy,test
110per-file-ignores =
111                **/__init__.py:F401
112                lib/sqlalchemy/events.py:F401
113                lib/sqlalchemy/schema.py:F401
114                lib/sqlalchemy/types.py:F401
115                lib/sqlalchemy/sql/expression.py:F401
116
117[mypy]
118# min mypy version 0.800
119plugins = sqlalchemy.ext.mypy.plugin
120
121[sqla_testing]
122requirement_cls = test.requirements:DefaultRequirements
123profile_file = test/profiles.txt
124
125# name of a "loopback" link set up on the oracle database.
126# to create this, suppose your DB is scott/tiger@xe.  You'd create it
127# like:
128# create public database link test_link connect to scott identified by tiger
129# using 'xe';
130oracle_db_link = test_link
131
132# host name of a postgres database that has the postgres_fdw extension.
133# to create this run:
134# CREATE EXTENSION postgres_fdw;
135# GRANT USAGE ON FOREIGN DATA WRAPPER postgres_fdw TO public;
136# this can be localhost to create a loopback foreign table
137# postgres_test_db_link = localhost
138
139[db]
140default = sqlite:///:memory:
141sqlite = sqlite:///:memory:
142aiosqlite = sqlite+aiosqlite:///:memory:
143sqlite_file = sqlite:///querytest.db
144aiosqlite_file = sqlite+aiosqlite:///async_querytest.db
145postgresql = postgresql://scott:tiger@127.0.0.1:5432/test
146asyncpg = postgresql+asyncpg://scott:tiger@127.0.0.1:5432/test
147asyncpg_fallback = postgresql+asyncpg://scott:tiger@127.0.0.1:5432/test?async_fallback=true
148pg8000 = postgresql+pg8000://scott:tiger@127.0.0.1:5432/test
149postgresql_psycopg2cffi = postgresql+psycopg2cffi://scott:tiger@127.0.0.1:5432/test
150mysql = mysql://scott:tiger@127.0.0.1:3306/test?charset=utf8mb4
151pymysql = mysql+pymysql://scott:tiger@127.0.0.1:3306/test?charset=utf8mb4
152aiomysql = mysql+aiomysql://scott:tiger@127.0.0.1:3306/test?charset=utf8mb4
153aiomysql_fallback = mysql+aiomysql://scott:tiger@127.0.0.1:3306/test?charset=utf8mb4&async_fallback=true
154mariadb = mariadb://scott:tiger@127.0.0.1:3306/test
155mssql = mssql+pyodbc://scott:tiger^5HHH@mssql2017:1433/test?driver=ODBC+Driver+13+for+SQL+Server
156mssql_pymssql = mssql+pymssql://scott:tiger@ms_2008
157docker_mssql = mssql+pymssql://scott:tiger^5HHH@127.0.0.1:1433/test
158oracle = oracle://scott:tiger@127.0.0.1:1521
159oracle8 = oracle://scott:tiger@127.0.0.1:1521/?use_ansi=0
160firebird = firebird://sysdba:masterkey@localhost//Users/classic/foo.fdb
161