Skip to content

Commit 10acda9

Browse files
Install package on rtd (numpy#472)
1 parent 3076945 commit 10acda9

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.readthedocs.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,7 @@ sphinx:
2828
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
2929
python:
3030
install:
31-
- requirements: requirements/doc.txt
31+
- method: pip
32+
path: .
33+
extra_requirements:
34+
- doc

setup.py

+5
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ def read(fname):
6565
for req in read("requirements/test.txt").split("\n")
6666
if not req.startswith("#")
6767
],
68+
"doc": [
69+
req
70+
for req in read("requirements/doc.txt").split("\n")
71+
if not req.startswith("#")
72+
],
6873
},
6974
package_data={
7075
"numpydoc": [

0 commit comments

Comments
 (0)