xref: /sqlalchemy/setup.cfg (revision 2afc5380)
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"
48mssql = pyodbc
49mssql_pymssql = pymssql
50mssql_pyodbc = pyodbc
51mysql =
52    mysqlclient>=1.4.0,<2;python_version<"3"
53    mysqlclient>=1.4.0;python_version>="3"
54mysql_connector =
55    mysqlconnector
56mariadb_connector =
57    mariadb>=1.0.1;python_version>="3"
58oracle =
59    cx_oracle>=7,<8;python_version<"3"
60    cx_oracle>=7;python_version>="3"
61postgresql = psycopg2>=2.7
62postgresql_pg8000 = pg8000>=1.16.6
63postgresql_asyncpg =
64    %(asyncio)s
65    asyncpg;python_version>="3"
66postgresql_psycopg2binary = psycopg2-binary
67postgresql_psycopg2cffi = psycopg2cffi
68pymysql =
69    pymysql;python_version>="3"
70    pymysql<1;python_version<"3"
71aiomysql =
72    %(asyncio)s
73    aiomysql;python_version>="3"
74
75[egg_info]
76tag_build = dev
77
78[options.packages.find]
79where = lib
80
81[tool:pytest]
82addopts = --tb native -v -r sfxX --maxfail=25 -p no:warnings -p no:logging
83python_files = test/*test_*.py
84
85[upload]
86sign = 1
87identity = C4DAFEE1
88
89[flake8]
90show-source = false
91enable-extensions = G
92
93# E203 is due to https://github.com/PyCQA/pycodestyle/issues/373
94ignore =
95    A003,
96    D,
97    E203,E305,E711,E712,E721,E722,E741,
98    N801,N802,N806,
99    RST304,RST303,RST299,RST399,
100    W503,W504
101exclude = .venv,.git,.tox,dist,doc,*egg,build
102import-order-style = google
103application-import-names = sqlalchemy,test
104per-file-ignores =
105                **/__init__.py:F401
106                lib/sqlalchemy/events.py:F401
107                lib/sqlalchemy/schema.py:F401
108                lib/sqlalchemy/types.py:F401
109                lib/sqlalchemy/sql/expression.py:F401
110
111[sqla_testing]
112requirement_cls = test.requirements:DefaultRequirements
113profile_file = test/profiles.txt
114
115# name of a "loopback" link set up on the oracle database.
116# to create this, suppose your DB is scott/tiger@xe.  You'd create it
117# like:
118# create public database link test_link connect to scott identified by tiger
119# using 'xe';
120oracle_db_link = test_link
121
122# host name of a postgres database that has the postgres_fdw extension.
123# to create this run:
124# CREATE EXTENSION postgres_fdw;
125# GRANT USAGE ON FOREIGN DATA WRAPPER postgres_fdw TO public;
126# this can be localhost to create a loopback foreign table
127# postgres_test_db_link = localhost
128
129[db]
130default = sqlite:///:memory:
131sqlite = sqlite:///:memory:
132sqlite_file = sqlite:///querytest.db
133postgresql = postgresql://scott:tiger@127.0.0.1:5432/test
134asyncpg = postgresql+asyncpg://scott:tiger@127.0.0.1:5432/test
135asyncpg_fallback = postgresql+asyncpg://scott:tiger@127.0.0.1:5432/test?async_fallback=true
136pg8000 = postgresql+pg8000://scott:tiger@127.0.0.1:5432/test
137postgresql_psycopg2cffi = postgresql+psycopg2cffi://scott:tiger@127.0.0.1:5432/test
138mysql = mysql://scott:tiger@127.0.0.1:3306/test?charset=utf8mb4
139pymysql = mysql+pymysql://scott:tiger@127.0.0.1:3306/test?charset=utf8mb4
140aiomysql = mysql+aiomysql://scott:tiger@127.0.0.1:3306/test?charset=utf8mb4
141aiomysql_fallback = mysql+aiomysql://scott:tiger@127.0.0.1:3306/test?charset=utf8mb4&async_fallback=true
142mariadb = mariadb://scott:tiger@127.0.0.1:3306/test
143mssql = mssql+pyodbc://scott:tiger^5HHH@mssql2017:1433/test?driver=ODBC+Driver+13+for+SQL+Server
144mssql_pymssql = mssql+pymssql://scott:tiger@ms_2008
145docker_mssql = mssql+pymssql://scott:tiger^5HHH@127.0.0.1:1433/test
146oracle = oracle://scott:tiger@127.0.0.1:1521
147oracle8 = oracle://scott:tiger@127.0.0.1:1521/?use_ansi=0
148firebird = firebird://sysdba:masterkey@localhost//Users/classic/foo.fdb
149