diff options
-rw-r--r-- | dev-requirements.txt | 8 | ||||
-rw-r--r-- | setup.py | 13 | ||||
-rw-r--r-- | tox.ini | 15 |
3 files changed, 17 insertions, 19 deletions
diff --git a/dev-requirements.txt b/dev-requirements.txt index 0ad5f927..8c4a188a 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,14 +1,8 @@ clint coverage -flake8 -flake8-import-order invoke -pep8-naming requests -sphinx -sphinx_rtd_theme -sphinxcontrib-spelling tox twine --e .[test] +-e .[test,docs-test,pep8-test] -e vectors @@ -309,6 +309,19 @@ setup( tests_require=test_requirements, extras_require={ "test": test_requirements, + "docs-test": [ + "doc8", + "pyenchant", + "readme_renderer", + "sphinx", + "sphinx_rtd_theme", + "sphinxcontrib-spelling", + ], + "pep8-test": [ + "flake8", + "flake8-import-order", + "pep8-naming", + ], }, # for cffi @@ -19,12 +19,7 @@ commands = [testenv:docs] deps = - doc8 - pyenchant - readme_renderer - sphinx - sphinx_rtd_theme - sphinxcontrib-spelling + .[docs-test] basepython = python2.7 commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html @@ -52,18 +47,14 @@ commands = [testenv:pep8] deps = - flake8 - flake8-import-order - pep8-naming + .[pep8-test] commands = flake8 . [testenv:py3pep8] basepython = python3 deps = - flake8 - flake8-import-order - pep8-naming + .[pep8-test] commands = flake8 . |