]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
standard way to install extras 468/head
authorkimbo <kimballleavitt@gmail.com>
Thu, 7 May 2020 15:22:44 +0000 (09:22 -0600)
committerkimbo <kimballleavitt@gmail.com>
Thu, 7 May 2020 15:22:44 +0000 (09:22 -0600)
see https://www.python.org/dev/peps/pep-0508/#extras

also added command to pip install straight from master branch on github

README.md

index 2a841e4c93259bce85d102677b522d578ad07484..336828e7e2c8bc49f17c81251e65784881c2efe1 100644 (file)
--- 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