summaryrefslogtreecommitdiff
path: root/pyproject.toml
blob: d39a5999e35278127c9afd681638f8102cae621b (plain)
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
[tool.poetry]
name = "dnspython"
version = "2.4.0"
description = "DNS toolkit"
authors = ["Bob Halley <halley@dnspython.org>"]
license = "ISC"
packages = [
    {include = "dns"}
]
include = [
    { path="LICENSE", format="sdist" },
    { path="README.md", format="sdist" },
    { path="examples/*.txt", format="sdist" },
    { path="examples/*.py", format="sdist" },
    { path="tests/*.txt", format="sdist" },
    { path="tests/*.py", format="sdist" },
    { path="tests/*.good", format="sdist" },
    { path="tests/example", format="sdist" },
    { path="tests/query", format="sdist" },
    { path="tests/*.pickle", format="sdist" },
    { path="tests/*.text", format="sdist" },
    { path="tests/*.generic", format="sdist" },
    { path="tests/tls/*.crt", format="sdist" },
    { path="tests/tls/*.pem", format="sdist" },
    { path="util/**", format="sdist" },
    { path="setup.cfg", format="sdist" },
]
exclude = [
    "**/.DS_Store",
    "**/__pycache__/**",
]
readme = "README.md"
homepage = "https://www.dnspython.org"
repository = "https://github.com/rthalley/dnspython.git"
documentation = "https://dnspython.readthedocs.io/en/stable/"

[tool.poetry.urls]
"Bug Tracker" = "https://github.com/rthalley/dnspython/issues"

[tool.poetry.dependencies]
python = "^3.7"
httpx = {version=">=0.21.1", optional=true, python=">=3.6.2"}
h2 = {version=">=4.1.0", optional=true, python=">=3.6.2"}
idna = {version=">=2.1,<4.0", optional=true}
cryptography = {version=">=2.6,<41.0", optional=true}
trio = {version=">=0.14,<0.23", optional=true}
sniffio = {version="^1.1", optional=true}
wmi = {version="^1.5.1", optional=true}
aioquic = {version=">=0.9.20", optional=true}

[tool.poetry.dev-dependencies]
pytest = ">=5.4.1,<8"
pytest-cov = "^4.0.0"
flake8 = "^5.0.3"
sphinx = "^4.0.0"
coverage = "^7.0"
twine = "^4.0.0"
wheel = "^0.40.0"
pylint = "^2.7.4"
mypy = ">=1.0.1"
black = "^23.1.0"

[tool.poetry.extras]
doh = ['httpx', 'h2']
idna = ['idna']
dnssec = ['cryptography']
trio = ['trio']
wmi = ['wmi']
doq = ['aioquic']

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.setuptools_scm]

[tool.ruff]
ignore = ['E741', 'F401']