aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2018-03-05 20:50:10 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2018-03-05 19:50:10 -0500
commite3d2fc1727598bfabb3df78032b83bdccb188681 (patch)
tree2a33f56123f7bee695ab1009ff8fcf7287d3e630
parentef8f066d5a6790a65452e345ae70b8e29af5381e (diff)
downloadcryptography-e3d2fc1727598bfabb3df78032b83bdccb188681.tar.gz
cryptography-e3d2fc1727598bfabb3df78032b83bdccb188681.tar.bz2
cryptography-e3d2fc1727598bfabb3df78032b83bdccb188681.zip
install only the minimum required to build our docs for rtd (#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
-rw-r--r--dev-requirements.txt2
-rw-r--r--rtd-requirements.txt1
-rw-r--r--setup.py6
-rw-r--r--tox.ini1
4 files changed, 7 insertions, 3 deletions
diff --git a/dev-requirements.txt b/dev-requirements.txt
index 93d28450..58827ed4 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -4,5 +4,5 @@ coverage
requests
tox >= 2.4.1
twine >= 1.8.0
--e .[test,docstest,pep8test]
+-e .[test,docs,docstest,pep8test]
-e vectors
diff --git a/rtd-requirements.txt b/rtd-requirements.txt
new file mode 100644
index 00000000..142b6ca3
--- /dev/null
+++ b/rtd-requirements.txt
@@ -0,0 +1 @@
+-e .[docs]
diff --git a/setup.py b/setup.py
index 800e94d2..b6558163 100644
--- a/setup.py
+++ b/setup.py
@@ -296,12 +296,14 @@ setup(
":platform_python_implementation != 'PyPy'": ["cffi >= 1.7"],
"test": test_requirements,
+ "docs": [
+ "sphinx >= 1.6.5",
+ "sphinx_rtd_theme",
+ ],
"docstest": [
"doc8",
"pyenchant >= 1.6.11",
"readme_renderer >= 16.0",
- "sphinx >= 1.6.5",
- "sphinx_rtd_theme",
"sphinxcontrib-spelling >= 4.0.1",
],
"pep8test": [
diff --git a/tox.ini b/tox.ini
index 03c4c074..6dfe1c72 100644
--- a/tox.ini
+++ b/tox.ini
@@ -37,6 +37,7 @@ commands =
[testenv:docs]
extras =
+ docs
docstest
basepython = python2.7
commands =