Skip to content

Commit 1934ff1

Browse files
committed
Add requirements-doc.txt, matplotlib for gallery
The gallery uses matplotlib internally, but there is no direct dependency on it. Add a new requrements-doc.txt for doc-specific requirements for easier management.
1 parent 90c92c4 commit 1934ff1

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ install:
7777
brew update && brew install cppcheck;
7878
fi
7979
- pip install -r requirements.txt
80+
- pip install -r requirements-doc.txt
8081
- pip install setuptools setuptools-scm scikit-build
81-
- pip install bandit pytest pytest-runner sphinx sphinx-gallery
82+
- pip install bandit pytest pytest-runner
8283

8384
before_script:
8485
- enabled="-DBUILD_PYTHON=OFF -DBUILD_MEX=OFF"

requirements-doc.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
sphinx
2+
sphinx-gallery
3+
# manually grab pillow, since sphinx-gallery does not want
4+
# to specify their dependencies
5+
# https://github.com/sphinx-gallery/sphinx-gallery/issues/192
6+
pillow
7+
matplotlib

requirements-readthedocs.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
segyio
22
sphinx-gallery
3+
matplotlib

0 commit comments

Comments
 (0)