-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathpyproject.toml
88 lines (81 loc) · 2.14 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
87
88
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "aiosql"
version = "13.4"
authors = [ { name = "William Vaughn et al.", email = "[email protected]" } ]
description = "Simple SQL in Python"
readme = "README.rst"
requires-python = ">=3.9"
license = "BSD-2-Clause"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: SQL",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Database",
"Topic :: Software Development :: Libraries :: Python Modules"
]
[project.optional-dependencies]
dev = [
"pytest", "pytest-asyncio", "coverage",
"black", "flake8", "ruff",
"mypy", "pyright", "types-setuptools",
]
dev-duckdb = [
# skip, wheel compilation takes too much time… (confirmed 2024-09-30)
"duckdb; implementation_name != 'pypy'"
]
dev-sqlite = [
"aiosqlite",
# fails on missing symbol with pypy (confirmed 2024-10-01)
"apsw; implementation_name != 'pypy'"
]
dev-postgres = [
"pytest-postgresql",
"asyncpg; python_version < '3.13' and implementation_name != 'pypy'",
"psycopg>=3",
# 2.9.10 needed for 3.13
"psycopg2 >= 2.9.10; implementation_name != 'pypy'",
"pygresql",
"pg8000"
]
dev-mysql = [
"pytest-mysql",
"mysqlclient",
"mysql-connector-python",
"pymysql"
]
dev-mariadb = [
"mariadb"
]
dev-mssql = [
"pymssql"
]
doc = [
"sphinx",
"sphinx-rtd-theme",
# FIXME 3.13t rstcheck depends on pydantic
"rstcheck",
]
dist = [
"build", "wheel", "twine",
]
[tool.setuptools.package-data]
aiosql = [ "py.typed" ]
[tool.setuptools.packages.find]
include = [ "aiosql", "aiosql.adapters" ]
exclude = [ "tests" ]
[project.urls]
repository = "https://github.com/nackjicholson/aiosql"
documentation = "https://nackjicholson.github.io/aiosql/"
issues = "https://github.com/nackjicholson/aiosql/issues"
package = "https://pypi.org/project/aiosql/"
[tool.black]
line-length = 100
target-version = ["py39"]
[tool.mypy]
exclude = ["(build|venv)/", ".*/virtualenvs/.*"]
ignore_missing_imports = true