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
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-05-25 18:11:06 +0300
commitee286e4f2759a0e436d235dd45b02859b336aee2 (patch)
tree9662d92bbcbac23ec4163d55019a97e36cb5f54b /setup.py
parent068fd115d65ba363706cd58b87ade842e6467c87 (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'