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:
authorJulien Schueller <schueller@phimeca.com>2017-05-23 10:33:45 +0300
committerJulien Schueller <schueller@phimeca.com>2017-05-25 10:48:22 +0300
commit3ea4ed9cad587fad21bfb9d5ef4e6929e9817dd4 (patch)
treed24493a872c9d6eb81677bfeaf818eef1d3c67e1 /setup.py
parent604686a3bb63071cde9b2e8152b85cd061fabde2 (diff)
Do not require typing module for python>=3.5
pkg_resources.DistributionNotFound: The 'typing' distribution was not found and is required by Sphinx
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 95bb3778f..e1d71163b 100644
--- a/setup.py
+++ b/setup.py
@@ -51,10 +51,10 @@ requires = [
'alabaster>=0.7,<0.8',
'imagesize',
'requests>=2.0.0',
- 'typing',
'setuptools',
'sphinxcontrib-websupport',
]
+
extras_require = {
# Environment Marker works for wheel 0.24 or later
':sys_platform=="win32"': [
@@ -64,6 +64,7 @@ extras_require = {
'sqlalchemy>=0.9',
'whoosh>=2.0',
],
+ ':python_version<"3.5"': ['typing'],
'test': [
'pytest',
'mock', # it would be better for 'test:python_version in 2.7'