Do not require typing module for python>=3.5

pkg_resources.DistributionNotFound: The 'typing' distribution was not found and is required by Sphinx
This commit is contained in:
Julien Schueller authored and Takeshi KOMIYA committed 2017-05-26 00:11:06 +09:00
1 parent 068fd115d6
commit ee286e4f27
1 file changed
+2 -1
+2 -1
View File
@@ -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'