]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
add trio to extras
authorBob Halley <halley@dnspython.org>
Tue, 19 May 2020 12:32:33 +0000 (05:32 -0700)
committerBob Halley <halley@dnspython.org>
Tue, 19 May 2020 12:32:33 +0000 (05:32 -0700)
pyproject.toml
setup.py

index 541207dbc9ab902742056130cb30f80dbeda0f97..732af70670c7bb86509f64fdf30a87ec3c3152b4 100644 (file)
@@ -14,6 +14,7 @@ requests-toolbelt = {version="^0.9.1", optional=true}
 requests = {version="^2.23.0", optional=true}
 idna = {version="^2.1", optional=true}
 cryptography = {version="^2.6", optional=true}
+trio = {version="^0.14.0", optional=true}
 
 [tool.poetry.dev-dependencies]
 mypy = "^0.770"
@@ -25,6 +26,7 @@ sphinx = "^3.0.0"
 doh = ['requests', 'requests-toolbelt']
 idna = ['idna']
 dnssec = ['cryptography']
+trio = ['trio']
 
 [build-system]
 requires = ["poetry>=0.12"]
index b029b0fd8b6332877e4b907ca4a7fd00402c67da..70c64e6c0b11820e1196fc6794f8e50d1751728c 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -74,6 +74,7 @@ direct manipulation of DNS zones, messages, names, and records.""",
         'DOH': ['requests', 'requests-toolbelt'],
         'IDNA': ['idna>=2.1'],
         'DNSSEC': ['cryptography>=2.6'],
+        'trio': ['trio>=0.14.0'],
         },
     'ext_modules': ext_modules if compile_cython else None,
     'zip_safe': False if compile_cython else None,