summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-02-16 12:30:03 -0500
committerJason R. Coombs <jaraco@jaraco.com>2020-02-16 12:30:55 -0500
commitc1d7cc6701d33ee161d514ff61fe0e2017efee6c (patch)
tree3bcb74bcca8d253c782fd7fd3f36b1cc89982e5e
parent43edec2506f901ab939390951383025682448edd (diff)
downloadpython-setuptools-git-c1d7cc6701d33ee161d514ff61fe0e2017efee6c.tar.gz
Copy docs requirements to a separate file due to RTD constraints. Fixes #2001. Ref readthedocs/readthedocs.org#6662
-rw-r--r--.readthedocs.yml3
-rw-r--r--docs/requirements.txt4
-rw-r--r--setup.cfg1
3 files changed, 7 insertions, 1 deletions
diff --git a/.readthedocs.yml b/.readthedocs.yml
index 7b994a35..cb10a7f9 100644
--- a/.readthedocs.yml
+++ b/.readthedocs.yml
@@ -2,4 +2,5 @@ python:
version: 3
extra_requirements:
- docs
- pip_install: true
+ pip_install: false
+ requirements: docs/requirements.txt
diff --git a/docs/requirements.txt b/docs/requirements.txt
new file mode 100644
index 00000000..6c35bf64
--- /dev/null
+++ b/docs/requirements.txt
@@ -0,0 +1,4 @@
+# keep these in sync with setup.cfg
+sphinx
+jaraco.packaging>=6.1
+rst.linker>=1.9
diff --git a/setup.cfg b/setup.cfg
index 8cca6477..4ffb2f5e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -74,6 +74,7 @@ tests =
pip>=19.1 # For proper file:// URLs support.
docs =
+ # Keep these in sync with docs/requirements.txt
sphinx
jaraco.packaging>=6.1
rst.linker>=1.9