1+ [project ]
2+ name = " asyncpg"
3+ description = " An asyncio PostgreSQL driver"
4+ authors = [{name = " MagicStack Inc" , email = " hello@magic.io" }]
5+ requires-python = ' >=3.7.0'
6+ readme = " README.rst"
7+ license = {text = " Apache License, Version 2.0" }
8+ dynamic = [" version" ]
9+ keywords = [
10+ " database" ,
11+ " postgres" ,
12+ ]
13+ classifiers = [
14+ " Development Status :: 5 - Production/Stable" ,
15+ " Framework :: AsyncIO" ,
16+ " Intended Audience :: Developers" ,
17+ " License :: OSI Approved :: Apache Software License" ,
18+ " Operating System :: POSIX" ,
19+ " Operating System :: MacOS :: MacOS X" ,
20+ " Operating System :: Microsoft :: Windows" ,
21+ " Programming Language :: Python :: 3 :: Only" ,
22+ " Programming Language :: Python :: 3.7" ,
23+ " Programming Language :: Python :: 3.8" ,
24+ " Programming Language :: Python :: 3.9" ,
25+ " Programming Language :: Python :: 3.10" ,
26+ " Programming Language :: Python :: 3.11" ,
27+ " Programming Language :: Python :: Implementation :: CPython" ,
28+ " Topic :: Database :: Front-Ends" ,
29+ ]
30+ dependencies = [
31+ ' typing-extensions>=3.7.4.3;python_version<"3.8"' ,
32+ ]
33+
34+ [project .urls ]
35+ github = " https://github.com/MagicStack/asyncpg"
36+
37+ [project .optional-dependencies ]
38+ test = [
39+ ' flake8~=5.0' ,
40+ ' uvloop>=0.15.3; platform_system != "Windows"' ,
41+ ]
42+ docs = [
43+ ' Sphinx~=5.3.0' ,
44+ ' sphinxcontrib-asyncio~=0.3.0' ,
45+ ' sphinx_rtd_theme>=1.2.2' ,
46+ ]
47+
148[build-system ]
2- requires = [" setuptools>=42" , " wheel" ]
49+ requires = [
50+ " setuptools>=60" ,
51+ " wheel" ,
52+
53+ " Cython(>=0.29.24,<0.30.0)"
54+ ]
355build-backend = " setuptools.build_meta"
456
57+ [tool .setuptools ]
58+ zip-safe = false
59+
60+ [tool .setuptools .packages .find ]
61+ include = [" asyncpg" , " asyncpg.*" ]
62+
63+ [tool .setuptools .exclude-package-data ]
64+ "*" = [" *.c" , " *.h" ]
65+
566[tool .cibuildwheel ]
667build-frontend = " build"
768test-extras = " test"
@@ -19,3 +80,25 @@ test-command = """\
1980 && chmod -R go+rX "$(dirname $(dirname $(dirname $PY)))" \
2081 && su -l apgtest -c "$PY {project}/tests/__init__.py" \
2182 """
83+
84+ [tool .pytest .ini_options ]
85+ addopts = " --capture=no --assert=plain --strict-markers --tb=native --import-mode=importlib"
86+ testpaths = " tests"
87+ filterwarnings = " default"
88+
89+ [tool .coverage .run ]
90+ branch = true
91+ plugins = [" Cython.Coverage" ]
92+ parallel = true
93+ source = [" asyncpg/" , " tests/" ]
94+ omit = [" *.pxd" ]
95+
96+ [tool .coverage .report ]
97+ exclude_lines = [
98+ " pragma: no cover" ,
99+ " def __repr__" ,
100+ " if debug" ,
101+ " raise NotImplementedError" ,
102+ " if __name__ == .__main__." ,
103+ ]
104+ show_missing = true
0 commit comments