From 75be443a894aed9973e225bdc38702470c35817e Mon Sep 17 00:00:00 2001 From: kimbo Date: Thu, 7 May 2020 09:22:44 -0600 Subject: [PATCH] standard way to install extras see https://www.python.org/dev/peps/pep-0508/#extras also added command to pip install straight from master branch on github --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2a841e4c..336828e7 100644 --- a/README.md +++ b/README.md @@ -31,16 +31,20 @@ to facilitate the testing of DNS software. * If you have pip installed, you can do `pip install dnspython` * If not just download the source file and unzip it, then run `sudo python setup.py install` +* To install the latest from the master branch, run `pip install git+https://github.com/rthalley/dnspython.git` If you want to use DNS-over-HTTPS, you must run -`pip install requests requests-toolbelt` +`pip install dnspython[doh]`. If you want to use DNSSEC functionality, you must run -`pip install cryptography` +`pip install dnspython[dnssec]`. If you want to use internationalized domain names (IDNA) functionality, you must run -`pip install idna` +`pip install dnspython[idna]` + +Note that you can install any combination of the above, e.g.: +`pip install dnspython[doh,dnssec,idna]` ## ABOUT THIS RELEASE -- 2.47.3