Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarragh Bailey <dbailey@hpe.com>2016-03-23 18:34:40 +0300
committerDarragh Bailey <dbailey@hpe.com>2016-04-21 15:20:02 +0300
commit0b9ee8d451ded14718c45988eab5111a2f36dc12 (patch)
treed5c40e56ff2f39308adf61507ff0123226fb52df /setup.py
parent4959a75c6fb3d48fdb85514b1c1f043690806d82 (diff)
Switch to using requests for better charset detection
Python requests does a better job of detecting the charsets of webpages, performing automatic decoding when the text content is requested, avoiding issues around needing to do detection. This allows checking the following urls & anchors correctly: http://www.yaml.org/spec/1.2/spec.html#id2761803 http://www.yaml.org/spec/1.2/spec.html#id2765878 http://www.yaml.org/spec/1.2/spec.html#id2765878
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 8c10f1f63..e17b38728 100644
--- a/setup.py
+++ b/setup.py
@@ -49,6 +49,7 @@ requires = [
'babel>=1.3,!=2.0',
'alabaster>=0.7,<0.8',
'imagesize',
+ 'requests',
]
extras_require = {
# Environment Marker works for wheel 0.24 or later