-
Notifications
You must be signed in to change notification settings - Fork 60
/
pyproject.toml
79 lines (72 loc) · 1.93 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "aiosql"
version = "13.0"
authors = [ { name = "William Vaughn et al.", email = "[email protected]" } ]
description = "Simple SQL in Python"
readme = "README.rst"
requires-python = ">=3.9"
license = { text = "BSD 2-Clause License" }
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent"
]
[project.optional-dependencies]
dev = [
"pytest", "pytest-asyncio",
"rstcheck", "black", "coverage", "flake8", "ruff",
"mypy", "pyright", "types-setuptools", "build"
]
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"
]
dist = [
"build", "wheel", "twine",
"sphinx", "sphinx-rtd-theme"
]
[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