mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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:
committed by
Takeshi KOMIYA
parent
068fd115d6
commit
ee286e4f27
3
setup.py
3
setup.py
@@ -51,10 +51,10 @@ requires = [
|
|||||||
'alabaster>=0.7,<0.8',
|
'alabaster>=0.7,<0.8',
|
||||||
'imagesize',
|
'imagesize',
|
||||||
'requests>=2.0.0',
|
'requests>=2.0.0',
|
||||||
'typing',
|
|
||||||
'setuptools',
|
'setuptools',
|
||||||
'sphinxcontrib-websupport',
|
'sphinxcontrib-websupport',
|
||||||
]
|
]
|
||||||
|
|
||||||
extras_require = {
|
extras_require = {
|
||||||
# Environment Marker works for wheel 0.24 or later
|
# Environment Marker works for wheel 0.24 or later
|
||||||
':sys_platform=="win32"': [
|
':sys_platform=="win32"': [
|
||||||
@@ -64,6 +64,7 @@ extras_require = {
|
|||||||
'sqlalchemy>=0.9',
|
'sqlalchemy>=0.9',
|
||||||
'whoosh>=2.0',
|
'whoosh>=2.0',
|
||||||
],
|
],
|
||||||
|
':python_version<"3.5"': ['typing'],
|
||||||
'test': [
|
'test': [
|
||||||
'pytest',
|
'pytest',
|
||||||
'mock', # it would be better for 'test:python_version in 2.7'
|
'mock', # it would be better for 'test:python_version in 2.7'
|
||||||
|
|||||||
Reference in New Issue
Block a user