Skip to content

Commit e3d2fc1

Browse files
reaperhulkalex
authored andcommitted
install only the minimum required to build our docs for rtd (pyca#4133)
* install only the minimum required to build our docs for rtd We don't need to install sphinxcontrib-spelling or doc8 in rtd. * move another package
1 parent ef8f066 commit e3d2fc1

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ coverage
44
requests
55
tox >= 2.4.1
66
twine >= 1.8.0
7-
-e .[test,docstest,pep8test]
7+
-e .[test,docs,docstest,pep8test]
88
-e vectors

rtd-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-e .[docs]

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,12 +296,14 @@ def run_tests(self):
296296
":platform_python_implementation != 'PyPy'": ["cffi >= 1.7"],
297297

298298
"test": test_requirements,
299+
"docs": [
300+
"sphinx >= 1.6.5",
301+
"sphinx_rtd_theme",
302+
],
299303
"docstest": [
300304
"doc8",
301305
"pyenchant >= 1.6.11",
302306
"readme_renderer >= 16.0",
303-
"sphinx >= 1.6.5",
304-
"sphinx_rtd_theme",
305307
"sphinxcontrib-spelling >= 4.0.1",
306308
],
307309
"pep8test": [

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ commands =
3737

3838
[testenv:docs]
3939
extras =
40+
docs
4041
docstest
4142
basepython = python2.7
4243
commands =

0 commit comments

Comments
 (0)