make websupport-dependency optional

This commit is contained in:
Takeshi KOMIYA
2017-04-29 15:22:34 +09:00
parent 721c3d5fae
commit 370bdddc7c
3 changed files with 16 additions and 8 deletions

View File

@@ -51,7 +51,6 @@ requires = [
'alabaster>=0.7,<0.8',
'imagesize',
'requests>=2.0.0',
'sphinxcontrib-websupport',
'typing',
'setuptools',
]
@@ -60,6 +59,9 @@ extras_require = {
':sys_platform=="win32"': [
'colorama>=0.3.5',
],
'websupport': [
'sphinxcontrib-websupport',
],
'test': [
'pytest',
'mock', # it would be better for 'test:python_version in 2.7'