File tree 3 files changed +8
-3
lines changed
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -100,5 +100,5 @@ jobs:
100
100
101
101
- name : Documentation
102
102
run : |
103
- pip install -r doc/requirements.txt
103
+ pip install ".[doc]"
104
104
make -C doc html
Original file line number Diff line number Diff line change @@ -32,4 +32,5 @@ python:
32
32
install :
33
33
- method : pip
34
34
path : .
35
- - requirements : doc/requirements.txt
35
+ extra-requirements :
36
+ - doc
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ def _read_content(path: str) -> str:
17
17
version = _read_content ("VERSION" ).strip ()
18
18
requirements = _read_content ("requirements.txt" ).splitlines ()
19
19
test_requirements = _read_content ("test-requirements.txt" ).splitlines ()
20
+ doc_requirements = _read_content ("doc/requirements.txt" ).splitlines ()
20
21
long_description = _read_content ("README.md" )
21
22
22
23
@@ -75,7 +76,10 @@ def _stamp_version(filename: str) -> None:
75
76
package_dir = {"git" : "git" },
76
77
python_requires = ">=3.7" ,
77
78
install_requires = requirements ,
78
- extras_require = {"test" : test_requirements },
79
+ extras_require = {
80
+ "test" : test_requirements ,
81
+ "doc" : doc_requirements ,
82
+ },
79
83
zip_safe = False ,
80
84
long_description = long_description ,
81
85
long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments