From: Bob Halley Date: Tue, 19 May 2020 12:32:33 +0000 (-0700) Subject: add trio to extras X-Git-Tag: v2.0.0rc1~199 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f699f9cc6d6c8a57da5ac9b21acc68e8a63e0efb;p=thirdparty%2Fdnspython.git add trio to extras --- diff --git a/pyproject.toml b/pyproject.toml index 541207db..732af706 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"] diff --git a/setup.py b/setup.py index b029b0fd..70c64e6c 100755 --- 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,