Skip to content

Commit

Permalink
Add requirements-doc.txt, matplotlib for gallery
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jokva committed Apr 21, 2020
1 parent 90c92c4 commit 1934ff1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@ install:
brew update && brew install cppcheck;
fi
- pip install -r requirements.txt
- pip install -r requirements-doc.txt
- pip install setuptools setuptools-scm scikit-build
- pip install bandit pytest pytest-runner sphinx sphinx-gallery
- pip install bandit pytest pytest-runner

before_script:
- enabled="-DBUILD_PYTHON=OFF -DBUILD_MEX=OFF"
Expand Down
7 changes: 7 additions & 0 deletions requirements-doc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
sphinx
sphinx-gallery
# manually grab pillow, since sphinx-gallery does not want
# to specify their dependencies
# https://github.com/sphinx-gallery/sphinx-gallery/issues/192
pillow
matplotlib
1 change: 1 addition & 0 deletions requirements-readthedocs.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
segyio
sphinx-gallery
matplotlib

0 comments on commit 1934ff1

Please sign in to comment.