From: kimbo Date: Thu, 7 May 2020 15:22:44 +0000 (-0600) Subject: standard way to install extras X-Git-Tag: v2.0.0rc1~254^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75be443a894aed9973e225bdc38702470c35817e;p=thirdparty%2Fdnspython.git 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 --- 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