Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be0fb7d

Browse files
committed
MAINT added early checks for dependencies for doc building
1 parent 63e58b3 commit be0fb7d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

doc/conf.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@
6767
raise ImportError("No module named mock - you need to install "
6868
"mock to build the documentation")
6969

70+
try:
71+
from PIL import Image
72+
except ImportError:
73+
raise ImportError("No module named Image - you need to install "
74+
"pillow to build the documentation")
75+
76+
7077
try:
7178
import matplotlib
7279
except ImportError:

0 commit comments

Comments
 (0)