Skip to content

Commit 23f89ba

Browse files
committed
Adding recommonmark for build
1 parent f5017bb commit 23f89ba

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ environment:
1818
# disable threaded builds on Python 3.5+ when using numpy's distutils
1919
# (https://github.com/numpy/numpy/issues/7607)
2020
BUILD_GLOBAL_OPTIONS: build -j1
21-
BUILD_ENV: wheel==0.29.0 pip==9.0.1 numpy==1.9.3 sphinx==1.8.2
21+
BUILD_ENV: wheel==0.29.0 pip==9.0.1 numpy==1.9.3 -r requirements-doc.txt
2222
# SIP 4.19.4+ with PyQt5==5.9.1+ segfault our tests (GH-2756)
2323
TEST_ENV: sip==4.19.6 PyQt5==5.9.2 numpy~=1.14.0 scipy~=1.0.0 scikit-learn pandas==0.21.1
2424

requirements-dev.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
pylint
22
radon
33
# for build_htmlhelp command
4-
sphinx>=1.5
4+
sphinx>=1.5
5+
recommonmark

requirements-doc.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
docutils
22
numpydoc
33
Sphinx>=1.3
4+
recommonmark
45
PyQt5

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717

1818

1919
try:
20+
# need sphinx and recommonmark for build_htmlhelp command
2021
from sphinx.setup_command import BuildDoc
22+
# pylint: disable=unused-import
23+
import recommonmark
2124
have_sphinx = True
2225
except ImportError:
2326
have_sphinx = False

0 commit comments

Comments
 (0)