summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorkimbo <kimballleavitt@gmail.com>2020-05-07 09:22:44 -0600
committerkimbo <kimballleavitt@gmail.com>2020-05-07 09:22:44 -0600
commit75be443a894aed9973e225bdc38702470c35817e (patch)
tree600e24a12714d7f94966f2a06370cb918d15c05c /README.md
parent7de8ff4bc075dd3a7f89c811bce5f1bd9e04432c (diff)
downloaddnspython-75be443a894aed9973e225bdc38702470c35817e.tar.gz
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
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/README.md b/README.md
index 2a841e4..336828e 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